DartBridgeSecureStorage class final

Platform-owned synchronous secure storage used by C callback vtables.

Dart plugin storage APIs are asynchronous and cannot truthfully satisfy a synchronous FFI callback. The Flutter plugin therefore exports small native helpers backed by Keychain on Apple and Android Keystore plus atomic no-backup ciphertext files on Android. Every mutation is complete before these methods return success.

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) → void
deletePointer(Pointer<Utf8> key) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve(String key) SecureStorageReadResult
retrieveIfExists(String key) String?
Return null only for a canonical clean miss; propagate every real error.
retrievePointers(Pointer<Utf8> key, Pointer<Utf8> outValue, int bufferSize) int
store(String key, String value) → void
storePointers(Pointer<Utf8> key, Pointer<Utf8> value) int
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance DartBridgeSecureStorage
no setter

Constants

maxValueBytes → const int