removeItem method

  1. @override
  2. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WebPlatform(), WindowsPlatform(), LinuxPlatform()])
Future<void> removeItem({
  1. required String key,
})
override

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

Implementation

@override
@SupportedPlatforms(
  platforms: [
    AndroidPlatform(),
    IOSPlatform(),
    MacOSPlatform(),
    WebPlatform(),
    WindowsPlatform(),
    LinuxPlatform(),
  ],
)
Future<void> removeItem({required String key}) => super.removeItem(key: key);