setDefaults method

Future<void> setDefaults(
  1. Map<String, dynamic> defaultParameters
)

Sets the default parameter values for the current instance. Only booleans, strings and numbers are supported as values of the map

Implementation

Future<void> setDefaults(Map<String, dynamic> defaultParameters) {
  defaultParameters.forEach(_checkIsSupportedType);
  return _delegate.setDefaults(defaultParameters);
}