IDataSource class abstract

Implementers

Constructors

IDataSource()

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

addDocToCollection<Model extends BaseModel>(String path, BaseModel data) Future<String>
delete(String path) → dynamic
getCollectionStream<Model extends BaseModel>(String path, {List<QueryType>? where, Map<String, bool>? orderby, int? limit}) Stream<List<Model>>
getCollectionwithParams<Model extends BaseModel>(String path, {List<QueryType>? where, Map<String, bool>? orderby, int? limit, String? startAfterID}) Future<List<Model>>
getSingleById<Model extends BaseModel>(String path) Future<Model>
getStreamByID<Model extends BaseModel>(String path) Stream<Model>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(String path, BaseModel data) Future<void>

Operators

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