getItem abstract method

Future<String?> getItem({
  1. required String key,
})

Retrieves an item asynchronously from the storage with the key.

Implementation

Future<String?> getItem({required String key});