GrantApi class

Inheritance

Constructors

GrantApi.new({required dynamic settings})

Properties

baseUrl Future<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings PreferencesSettings
finalinherited

Methods

addGrant(Map<String, dynamic> params) Future<GrantResponse>
cleanEntity(Map<String, dynamic> params) Map<String, dynamic>
override
delete(String endpoint, {bool includeToken = true}) Future<Response>
inherited
deleteGrant(Map<String, dynamic> params) Future<NoContentResponse>
get(String endpoint, {bool includeToken = true}) Future<Response>
inherited
getGrantsFromUserById(Map<String, dynamic> params) Future<GrantsResponse>
getHeaders({bool includeToken = true}) Map<String, String>
inherited
getUrl({String? endUrl}) Future<Uri>
inherited
handleFilters(String url, Map<String, dynamic> filters) String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseUrl(String url) Uri
inherited
post(String endpoint, {bool includeToken = true, Map<String, dynamic>? body, Map<String, String>? headers}) Future<Response>
inherited
put(String endpoint, {bool includeToken = true, Map<String, dynamic>? body}) Future<Response>
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

ENDPOINT → const String