putAsync<T> static method

Future<void> putAsync<T>(
  1. Future<T> builder()
)

putAsyncT method.

Implementation

static Future<void> putAsync<T>(Future<T> Function() builder) async {
  /// Stores the =.
  final instance = await builder();
  put<T>(instance);
  _notify('putAsync', T);
}