Create a new AsyncStorage instance. The keyPrefix is used to namespace the keys in the underlying storage layer. It's optional, but recommended to avoid key collisions.
Optional
keyPrefix: stringSet the value for the given key.
Static
withCreate a new AsyncStorage instance with initial data.
Optional
keyPrefix: string
A wrapper class for AsyncStorage for strict typing and inbuilt JSON serialization.
TODO: add support for custom JSON serializer if needed