getString method

String getString(
  1. String key, [
  2. String? defaultValue
])

Returns string value by key

If map not contains key or the value has a different type and defaultValue is null then throw FormatException

Implementation

String getString(String key, [String? defaultValue]) {
  return _value(key, defaultValue);
}