typeOf<T> function

Type typeOf<T>(
  1. T value
)

Returns a runtime representation of the given reified type T as an instance of Type.

Implementation

Type typeOf<T>(T value) => value.runtimeType;