getItems method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WebPlatform(note: 'This method has an effect only if the iframe has the same origin.'), WindowsPlatform(), LinuxPlatform()])
Future<List<WebStorageItem>> getItems()

Returns the list of all items from the given Storage object.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(),
    IOSPlatform(),
    MacOSPlatform(),
    WebPlatform(
      note:
          'This method has an effect only if the iframe has the same origin.',
    ),
    WindowsPlatform(),
    LinuxPlatform(),
  ],
)
Future<List<WebStorageItem>> getItems() {
  throw UnimplementedError(
    'getItems is not implemented on the current platform',
  );
}