location property Null safety

SourceLocation? location
optional">@optionalread / writeoverride

The location of this function in the source code.

Note: this may not agree with the location of owner if this is a function from a mixin application, expression evaluation, patched class, etc.

Implementation

@optional
SourceLocation? location;