fields property Null safety

List<FieldDefinition> fields
override

Implementation

@override
List<FieldDefinition> get fields =>
    astNode.fields.map((field) => FieldDefinition(field, getType)).toList();