get static method

Future get(
  1. String key
)

Reads a value of any type from persistent storage under the specified app group.

If the persistent storage does not contains key, then null will be returned

Implementation

static Future<dynamic> get(String key) async {
  return await _channel.invokeMethod('get', {'key': key});
}