BackupHandlerImpl<T extends Auth<AuthKeys> > class
- Inheritance
-
- Object
- BackupHandler<
T> - BackupHandlerImpl
Constructors
-
BackupHandlerImpl(AuthorizedDataSource<
T> source) -
BackupHandlerImpl.fromRepository(BackupRepository<
T> repository)
Properties
-
cache
→ Future<
T?> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
repository
→ BackupRepository<
T> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
Map< String, dynamic> source) → T -
override
-
clear(
) → Future< bool> -
override
-
get(
[bool remotely = false]) → Future< T?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCreateUser(
T data) → Future< void> -
override
-
onDeleteUser(
String id) → Future< void> -
override
-
onFetchUser(
String id) → Future< T?> -
override
-
onUpdateUser(
String id, Map< String, dynamic> data) → Future<void> -
override
-
set(
T? data) → Future< bool> -
override
-
setAsLocal(
T? data) → Future< bool> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Map< String, dynamic> data) → Future<bool> -
override
-
updateAsLocal(
{required String id, Map< String, dynamic> creates = const {}, Map<String, dynamic> updates = const {}, bool updateMode = false}) → Future<bool> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited