SettingsSyncDeps class

Constructors

SettingsSyncDeps({Future<String?> getItem(String key)?, Future<void> setItem(String key, String value)?, Future<SyncCredential?> credential()?, SettingsFetch? fetch, void Function() subscribeWrites(StorageWriteListener listener)?, void onTeam(Map<String, String> team)?, void onApplied(List<String> keys)?, Object setTimer(void fn(), Duration delay)?, void clearTimer(Object handle)?})

Properties

clearTimer → void Function(Object handle)
final
credential → Future<SyncCredential?> Function()
final
fetch → SettingsFetch
final
getItem → Future<String?> Function(String key)
final
hashCode → int
The hash code for this object.
no setterinherited
onApplied → void Function(List<String> keys)
final
onTeam → void Function(Map<String, String> team)?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setItem → Future<void> Function(String key, String value)
final
setTimer → Object Function(void fn(), Duration delay)
final
subscribeWrites → void Function() Function(StorageWriteListener listener)
final

Methods

copyWith({void onApplied(List<String> keys)?}) → SettingsSyncDeps
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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