getString method

Future<String?> getString(
  1. String key
)

Reads a value from the platform, throwing a TypeError if the value is not a String.

Implementation

Future<String?> getString(String key) async {
  return _platform.getString(key, _options);
}