get method
Retrieves a value from secure storage.
key
The storage key to retrieve the value for.
Returns a Future that resolves to the stored value, or null if not found.
Throws UnimplementedError if not implemented by platform-specific code.
Example
final token = await CalljmpStore.instance.get(
CalljmpStoreKey.accessToken
);
if (token != null) {
print('Found stored token');
}
Implementation
Future<String?> get(CalljmpStoreKey key) {
throw UnimplementedError('get() has not been implemented.');
}