getStringValue method
Implementation
@override
Future<String?> getStringValue(
String key, {
bool coldFetch = false,
bool fallbackWithOfflineValue = false,
}) async {
try {
return await methodChannel.invokeMethod<String>("getStringValue", {
'key': key,
'coldFetch': coldFetch,
'fallbackWithOfflineValue': fallbackWithOfflineValue
});
} on PlatformException catch (e, s) {
print(s);
return null;
}
}