RemoteResource class

Constructors

RemoteResource(String endpoint, {String? singularName})

Properties

allFromServer List
no setter
endpoint String
final
hashCode int
The hash code for this object.
no setterinherited
multipleDataKey String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singularName String
getter/setter pair

Methods

createItem(Map<String, dynamic> itemDetails, {List<JsendStatusHandler>? statusHandlers}) Future<void>
deleteItem(Map<String, dynamic> itemToDelete, {List<JsendStatusHandler>? statusHandlers}) Future<void>
get(String id, {bool force = false, List<JsendStatusHandler>? statusHandlers}) Future<Map<String, dynamic>?>
getAll({bool force = false, List<JsendStatusHandler>? statusHandlers}) Future<List>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateItem(Map<String, dynamic> updatedItem, {List<JsendStatusHandler>? statusHandlers}) Future<void>

Operators

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