getString method

String? getString(
  1. String key, {
  2. String? defaultValue,
})

Get the string value associated with the specified key.

Implementation

String? getString(String key, {String? defaultValue}) {
  assert(_key != null);
  return _decorator.getString(key, defaultValue: defaultValue);
}