getField method
Implementation
@override
FieldDefinition getField(String fieldName) => _fields.firstWhere(
(field) => field.name == fieldName,
orElse: () => throw StateError(
"No such field $fieldName on $this",
),
);
@override
FieldDefinition getField(String fieldName) => _fields.firstWhere(
(field) => field.name == fieldName,
orElse: () => throw StateError(
"No such field $fieldName on $this",
),
);