enumValue<T> method Null safety

T enumValue<T>()

Reads the instance of ConstantReader and returns an instance of T.

Note: T must be a Dart enum.

Implementation

T enumValue<T>() => _gr.enumValue<T>(this);