readString static method

Future<String?> readString(
  1. String key, {
  2. String MMKVId = "default",
})

Implementation

static Future<String?> readString(String key, {String MMKVId = "default"}) async {
  String? stringResult = await SharedStore.readValue(key, valueType.stringType, MMKVId);
  return stringResult;
}