getDatabaseNames method

  1. @DomName('IDBFactory.getDatabaseNames')
  2. @SupportedBrowser(SupportedBrowser.CHROME)
  3. @Experimental()
Future<List<String>> getDatabaseNames()

Source

@DomName('IDBFactory.getDatabaseNames')
@SupportedBrowser(SupportedBrowser.CHROME)
@Experimental()
Future<List<String>> getDatabaseNames() {
  try {
    var request = _webkitGetDatabaseNames();

    return _completeRequest(request);
  } catch (e, stacktrace) {
    return new Future.error(e, stacktrace);
  }
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-indexed_db/IdbFactory/getDatabaseNames.html