AuthorizedDataSourceImpl<T extends Auth<AuthKeys> > class
- Inheritance
-
- Object
- AuthorizedDataSource<
T> - AuthorizedDataSourceImpl
Constructors
-
AuthorizedDataSourceImpl([BackupDelegate<
T> ? delegate])
Properties
-
cache
→ Future<
T?> -
no setteroverride
-
database
→ Future<
SharedPreferences> -
no setterinherited
-
delegate
→ BackupDelegate<
T> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
finalinherited
- 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
-
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
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Map< String, dynamic> data) → Future<bool> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited