FlutterKeystorePlatform class abstract

Platform interface for the FlutterKeystore plugin.

This abstract class defines the contract that platform-specific implementations must follow. It provides a common interface for secure key-value storage operations across different platforms.

Platform Implementations

  • MethodChannelFlutterKeystore - Android implementation using method channels
  • Future implementations may include iOS, web, and desktop platforms
Inheritance
  • Object
  • PlatformInterface
  • FlutterKeystorePlatform
Implementers

Constructors

FlutterKeystorePlatform()
Constructs a FlutterKeystorePlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String key, {String? storageName}) Future<void>
Deletes a value from the secure keystore.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key, {String? storageName}) Future<String?>
Reads a value from the secure keystore.
toString() String
A string representation of this object.
inherited
write(String key, String value, {String? storageName}) Future<void>
Writes a value to the secure keystore.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance FlutterKeystorePlatform
The default instance of FlutterKeystorePlatform to use.
getter/setter pair