getRuntimeType method

RuntimeType<T> getRuntimeType()

Create a RuntimeType representing this object's type.

This is like the runtimeType property, but returns a RuntimeType instead of a Type.

Implementation

RuntimeType<T> getRuntimeType() => runtimeType.toRuntimeType() as RuntimeType<T>;