getString method

  1. @override
String getString(
  1. String key
)
override

Gets the value for a given key as a String.

Returns an empty String if the key does not exist.

Implementation

@override
String getString(String key) {
  return _data[key]?.asString() ??
      _defaults[key]?.asString() ??
      RemoteConfigValue.defaultValueForString;
}