SenderApi class
A class to handle API interactions related to senders.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
{required String name, required String description}) → Future< ApiResponseModel< SenderModel?> > - Creates a new sender.
-
get(
{required String id}) → Future< ApiResponseModel< SenderModel?> > - Retrieves a sender from the sender list.
-
list(
{int? count, int? page, SortList? sort, String? orderBy}) → Future< ApiResponseModel< List< >SenderModel> > - Fetches a list of senders.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required String id, required bool archived}) → Future< ApiResponseModel< SenderModel?> > - Updates a sender in the sender list.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited