FieldConfig constructor
FieldConfig(
- PlatformValueProvider valueProvider,
- String name,
- Map field,
- Map extField, [
- 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');
}
}