getType method

Type getType()

Returns the type parameter T of this ClassType.

Example:

final classRef = ClassType<int>();
final type = classRef.getType();
print(type); // prints: int

Implementation

Type getType() => T;