getKeys method

Future<List<String>> getKeys()

Gets all keys from storage. returns Promise that resolves with storage keys, or rejects on failure.

Implementation

Future<List<String>> getKeys() async {
  var $res = await _wrapped.getKeys().toDart;
  return $res.toDart.cast<JSString>().map((e) => e.toDart).toList();
}