getSet<T> method Null safety

Set<T> getSet<T>()

Reads the instance of ConstantReader and returns an object of type Set<T>.

Throws ErrorOf if an instance of Set<T> cannot be constructed.

Implementation

Set<T> getSet<T>() => _gr.getSet<T>(this);