fields property

List<FieldDefinition> fields
override

Implementation

@override
List<FieldDefinition> get fields {
  final inherited = _inheritedFieldNames;
  return astNode.fields
      .map((fieldNode) => FieldDefinition(
            fieldNode,
            getType,
            inherited.contains(fieldNode.name.value),
          ))
      .toList();
}