ConfigurationError constructor

ConfigurationError(
  1. String parameter, [
  2. dynamic value
])

Implementation

ConfigurationError(String parameter, [dynamic value]) {
  code = 1;
  name = 'CONFIGURATION_ERROR';
  this.parameter = parameter;
  this.value = value;
  message = (value == null)
      ? 'Missing parameter: $parameter'
      : 'Invalid value ${encoder.convert(value)} for parameter "$parameter"';
}