removeItem 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<void> removeItem({
  1. required String key,
})

When passed a key name, will remove that key from the given Storage object if it exists.

Implementation

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