fields property

  1. @override
List<FieldDefinition> get 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();
}