field method
Gets the binding controller for a specific field.
Returns the FieldBindingController for the specified name. Throws an
ArgumentError if no field with the given name exists.
Implementation
@override
FieldBindingController field(String name) {
final index = _fieldNames.indexOf(name);
if (index == -1) {
throw ArgumentError("No field with name $name");
}
return fields[index];
}