SaMessagesService class

Inheritance

Constructors

SaMessagesService(WithTokenGetter tokenGetter, String baseUrl, {String? requestRole})

Properties

baseUrl String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
path String
getter/setter pairinherited
requestRole String
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenGetter WithTokenGetter
finalinherited

Methods

create(dynamic item, {String? callRole}) Future
inherited
delete(Uri path) Future
inherited
edit(String id, dynamic item, {String? callRole}) Future
inherited
formatPathFromParts(List<String?> parts) String
inherited
get(Uri path) Future
Methods
inherited
getAll({Map params = const {}, String? callRole}) Future
inherited
getHeaders({String contentType = 'application/json'}) Future<Map<String, String>>
inherited
getOne(String id, {String? callRole}) Future
inherited
getToken() Future<String?>
inherited
handleResponse(Response response) → dynamic
inherited
mapper(dynamic data) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(Uri path, dynamic item) Future
inherited
put(Uri path, dynamic item) Future
inherited
remove(String id, {String? callRole}) Future?
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited