FieldConfig constructor

FieldConfig(
  1. PlatformValueProvider valueProvider,
  2. String name,
  3. Map field,
  4. Map extField, [
  5. String? value,
])

Implementation

FieldConfig(
    PlatformValueProvider valueProvider, this.name, this.field, this.extField,
    [String? value])
    : _value = value,
      _valueProvider = valueProvider {
  if (!_nullable && _fieldValue == null) {
    throw ValidationError(name, '"$name" is required');
  }
}