getField method

  1. @override
FieldDefinition getField(
  1. String fieldName
)
override

Implementation

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