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.

Inheritance

Constructors

ProfilesApi(DioClient dioClient)
Constructs a new instance of the ProfilesApi.

Properties

dioClient DioClient
Dio HTTP client for making network requests.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
route String
Base route for the API service.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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