getSourceLocation abstract method

Uri? getSourceLocation()

Returns the source code location (e.g., file path or URI) where this declaration is defined, or null if not available in the current reflection context.

This is optional and implementation-dependent.

Implementation

Uri? getSourceLocation();