getList<T> method Null safety

List<T> getList<T>()

Reads the instance of ConstantReader and returns an instance of List<T>.

Throws ErrorOf<ConstantReader> if an instance of List<T> can not be constructed.

Implementation

List<T> getList<T>() => _gr.getList<T>(this);