locations property Null safety

List<DirectiveLocation>? locations

Implementation

List<DirectiveLocation>? get locations => astNode!.locations;