APIResource class
Methods
-
copyDio(dynamic opt)
→ Dio
-
-
delete({String id = '', String apiUserToken = ''})
→ Future<Map<String, dynamic>>
-
override
-
dispose()
→ void
-
Disposes controllers, streams, etc.
override
-
get()
→ Future<Map<String, dynamic>>
-
override
-
getAll({String partOfUrl = '', String apiUserToken = ''})
→ Future<List>
-
override
-
getById({String id = '', String partOfUrl = '', String apiUserToken = ''})
→ Future<Map<String, dynamic>>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post({dynamic data, String partOfUrl = '', String? apiUserToken})
→ Future<Map<String, dynamic>>
-
override
-
put({String id = '', String partOfUrl = '', Map<String, dynamic>? data, String apiUserToken = ''})
→ Future<Map<String, dynamic>>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited