BaseModelApi<T extends BaseModel> class
abstract
Methods
-
create(Map source, {bool protected = true, bool verbose = false})
→ Future<T>
-
-
delete<K>(String action, {dynamic body, bool protected = true, bool verbose = false})
→ Future<Response<K>>
-
-
destroy(dynamic id, {dynamic body, bool protected = true, bool verbose = false})
→ Future<void>
-
-
get<K>(String action, {Map<String, dynamic>? params, bool protected = false, void onReceiveProgress(int, int)?, bool verbose = false})
→ Future<Response<K>>
-
-
list({Map<String, dynamic>? params, bool protected = false, bool rootList = false, bool verbose = false})
→ Future<List<T>>
-
-
listPaginated({Map<String, dynamic>? params, bool protected = false, bool verbose = false})
→ Future<Pagination<T>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post<K>(String action, {dynamic body, bool protected = true, void onSendProgress(int, int)?, void onReceiveProgress(int, int)?, bool verbose = false})
→ Future<Response<K>>
-
-
put<K>(String action, {dynamic body, bool protected = true, void onSendProgress(int, int)?, void onReceiveProgress(int, int)?, bool verbose = false})
→ Future<Response<K>>
-
-
retrieve(dynamic id, {Map<String, dynamic>? params, bool protected = false, bool verbose = false})
→ Future<T>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(dynamic id, Map source, {bool protected = true, bool verbose = false})
→ Future<T>
-