getString method

String getString(
  1. String key, {
  2. String defVal = '',
})

Gets the value for a given key as a String. Returns defVal if the key does not exist.

Implementation

String getString(String key, {String defVal = ''}) {
  final k = _getKey(key);
  if (k == null) return defVal;
  return _remoteConfig.getString(k);
}