asyncValue method

Future<T> asyncValue(
  1. T value
)

Implementation

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