clear method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WebPlatform(note: 'This method has an effect only if the iframe has the same origin.'), WindowsPlatform(), LinuxPlatform()])
Clears all keys stored in a 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<void> clear() {
throw UnimplementedError(
'clear is not implemented on the current platform',
);
}