setDefaults method

Future<bool> setDefaults(
  1. Map<String, dynamic>? defaults
)

Set the default Firebase Remote Config values

Implementation

Future<bool> setDefaults(Map<String, dynamic>? defaults) async {
  var set = _remoteConfig != null;
  if (set) {
    set = defaults != null;
  }
  if (set) {
    await _remoteConfig?.setDefaults(defaults!);
  }
  return set;
}