CalljmpStore class abstract

Abstract platform interface for secure storage operations.

CalljmpStore defines the contract for platform-specific storage implementations that handle sensitive data securely across different platforms (iOS, Android, etc.).

Implementation

Platform-specific implementations should extend this class and provide concrete implementations for all abstract methods.

Usage

// Store an access token
await CalljmpStore.instance.put(
  CalljmpStoreKey.accessToken,
  'jwt_token_string'
);

// Retrieve an access token
final token = await CalljmpStore.instance.get(
  CalljmpStoreKey.accessToken
);

// Delete an access token
await CalljmpStore.instance.delete(
  CalljmpStoreKey.accessToken
);
Inheritance
  • Object
  • PlatformInterface
  • CalljmpStore
Implementers

Constructors

CalljmpStore()
Constructs a CalljmpStore platform interface.

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(CalljmpStoreKey key) Future<void>
Deletes a value from secure storage.
get(CalljmpStoreKey key) Future<String?>
Retrieves a value from secure storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(CalljmpStoreKey key, String value) Future<void>
Stores a value in secure storage.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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