RemoteRepo<T> class abstract

Constructors

RemoteRepo()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add<T>(JsonObject object) Future<Result<String>>
addById<T>(JsonObject object) Future<Result<T>>
callFunction({required String functionName, required Map<String, dynamic>? data, int durationSeconds = 30}) Future<Result>
delete(IDs id) → dynamic
fromJson(FromJsonFunc<T> fromJsonFunc) RemoteRepo
get<T>(IDs id) Future<Result<T>>
getAll<T>({int? limit, String? orderByField, bool descending = false, Object? field, bool? isEqualTo, bool? isNotEqualTo, bool? isLessThan, bool? isLessThanOrEqualTo, bool? isGreaterThan, bool? isGreaterThanOrEqualTo, Object? arrayContains, List<Object?>? arrayContainsAny, List<Object?>? whereIn, List<Object?>? whereNotIn, bool? isNull}) Future<Result<List<T>>>
getIn<T>({required List list, required dynamic fieldName}) Future<Result<List<T>>>
getInById<T>({required List list}) Future<Result<List<T>>>
init() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ofPath(List<RemoteRepoPath> path) RemoteRepo
ofTable(String table) RemoteRepo
toString() String
A string representation of this object.
inherited
update<T>(JsonObject dto) Future<Result<T>>

Operators

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