asyncValue method
Implementation
Future<T> asyncValue(T value) async {
if (adapter.saveData != null) {
if (this.value != value) {
await adapter.saveData!(value);
}
}
super.value = value;
return value;
}
Future<T> asyncValue(T value) async {
if (adapter.saveData != null) {
if (this.value != value) {
await adapter.saveData!(value);
}
}
super.value = value;
return value;
}