DataDelegate class abstract

Constructors

DataDelegate()
const

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

batch() DataWriteBatch
count(String path) Future<int?>
create(String path, Map<String, dynamic> data, [bool merge = true]) Future<void>
delete(String path) Future<void>
get(String path) Future<DataGetsSnapshot>
getById(String path) Future<DataGetSnapshot>
getByQuery(String path, {Iterable<DataQuery> queries = const [], Iterable<DataSelection> selections = const [], Iterable<DataSorting> sorts = const [], DataPagingOptions options = const DataPagingOptions()}) Future<DataGetsSnapshot>
listen(String path) Stream<DataGetsSnapshot>
listenById(String path) Stream<DataGetSnapshot>
listenByQuery(String path, {Iterable<DataQuery> queries = const [], Iterable<DataSelection> selections = const [], Iterable<DataSorting> sorts = const [], DataPagingOptions options = const DataPagingOptions()}) Stream<DataGetsSnapshot>
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, Map<String, dynamic> data) Future<void>
updatingFieldValue(Object? value) Object?

Operators

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