PathBasedDataSource<S> class
abstract
- Implemented types
-
- ReadOnPath<
Map< String, dynamic> > - WriteOnPath<
Map< String, dynamic> > - OverwriteOnPath<
Map< String, dynamic> > - DeleteOnPath
- ReadOnPath<
- Implementers
Constructors
- PathBasedDataSource.new(S datasource)
-
const
Properties
- datasource → S
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
String path) → Future< String?> -
Deletes data at the specified path.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overwrite(
String path, Map< String, dynamic> data) → Future<String?> -
Overwrites data at the specified path.
inherited
-
read(
String path) → Future< Map< String, dynamic> ?> -
Reads data from the specified path.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String path, Map< String, dynamic> data) → Future<String?> -
Writes data to the specified path.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited