getStringed method

Future<String> getStringed(
  1. String param, [
  2. String? key
])

Returns a decrypted String value from Firebase Remote Config.

Implementation

Future<String> getStringed(String param, [String? key]) async {
  param = getString(param);
  final string = await _crypto?.de(param, key) ?? '';
  if (_crypto?.hasError ?? false) {
    getError(_crypto?.getError());
  }
  return string;
}