DataRepository<T extends Entity> class abstract

Implementers

Constructors

DataRepository({required DataSource<T> remote})

Properties

hashCode int
The hash code for this object.
no setterinherited
remote DataSource<T>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create<R>(T entity, [R? source(R parent)?]) Future<Response<T>>
delete<R>(String id, [R? source(R parent)?]) Future<Response<T>>
get<R>(String id, [R? source(R parent)?]) Future<Response<T>>
gets<R>([R? source(R parent)?]) Future<Response<T>>
getUpdates<R>([R? source(R parent)?]) Future<Response<T>>
live<R>(String id, [R? source(R parent)?]) Stream<Response<T>>
lives<R>([R? source(R parent)?]) Stream<Response<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update<R>(String id, Map<String, dynamic> data, [R? source(R parent)?]) Future<Response<T>>

Operators

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