getSource method
Returns the source object that provides the type information.
This method returns the underlying source object (such as a Field, Method, Parameter, etc.) that this TypeProvider is wrapping. This can be useful for debugging, logging, or when additional context about the type source is needed.
Returns:
- The source object providing the type information
- null if no source is available or known
Example:
@override
Object? getSource() => _field; // Return the field declaration
Implementation
Object? getSource() => null;