getKeysAsync method

Future<List<String>> getKeysAsync()

Same as keys, but async.

Implementation

Future<List<String>> getKeysAsync() async {
  if (isLoaded) return keys;

  return onLoad.listenAsFuture().then((_) {
    return keys;
  });
}