W3cubDocs

/Dart 2

supportsDatabaseNames property

bool supportsDatabaseNames

Checks to see if getDatabaseNames is supported by the current platform. TODO(terry): Should be able to always return false?

Implementation

bool get supportsDatabaseNames {
  return supported &&
      JS('bool', '!!(#.getDatabaseNames || #.webkitGetDatabaseNames)', this,
          this);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-indexed_db/IdbFactory/supportsDatabaseNames.html