ProfilesApi class
A class for interacting with the Profiles API.
This class provides methods to communicate with the Profiles API endpoints. You can extend and modify this class to implement specific API functionalities.
Constructors
- ProfilesApi(DioClient dioClient)
- Constructs a new instance of the ProfilesApi.
Properties
Methods
-
delete(
int id, {dynamic data, Map< String, dynamic> ? queryParameters, Options? options, CancelToken? cancelToken}) → Future -
Sends a
DELETE
request to remove a resource by its unique identifier.inherited -
get(
{Map< String, dynamic> ? queryParameters, String? path}) → Future -
Sends a
GET
request to fetch a list of resources.inherited -
getById(
String? id, {Map< String, dynamic> ? queryParameters}) → Future -
Sends a
GET
request to fetch a resource by its unique identifier.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
dynamic payload, {String? path, Options? options, Map< String, dynamic> ? queryParameters}) → Future -
Sends a
POST
request to create a new resource.inherited -
put(
int id, Map< String, dynamic> payload, {Map<String, dynamic> ? queryParameters}) → Future -
Sends a
PUT
request to update an existing resource by its unique identifier.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited