DataSource<T extends Entity> class
abstract
Constructors
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
-
build(
dynamic source) → T -
delete<
R> (String id, {Map< String, dynamic> ? extra, R? source(R parent)?}) → Future<Response< T> > -
get<
R> (String id, {Map< String, dynamic> ? extra, R? source(R parent)?}) → Future<Response< T> > -
gets<
R> ({Map< String, dynamic> ? extra, R? source(R parent)?}) → Future<Response< T> > -
getUpdates<
R> ({Map< String, dynamic> ? extra, R? source(R parent)?}) → Future<Response< T> > -
insert<
R> ({required T data, R? source(R parent)?}) → Future< Response< T> > -
live<
R> (String id, {Map< String, dynamic> ? extra, R? source(R parent)?}) → Stream<Response< T> > -
lives<
R> ({Map< String, dynamic> ? extra, 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