staticType property

Type staticType

Returns the static type of this object.

This can be used to report the static type of an object (which might not always be obvious due to inference or when dealing with generics), which might be different from Object.runtimeType.

Implementation

Type get staticType => T;