load method

Future<void> load()

Implementation

Future<void> load() async {
  if (future == null) {
    return Future.value();
  }
  callback?.call(await future);
  callback = null;
}