getMap<K, V> method Null safety

Map<K, V> getMap<K, V>()

Reads the instance of ConstantReader and returns an object of type Map<K, V>.

Throws ErrorOf<GenericReader if an instance of Map<K, V> cannot be constructed.

Implementation

Map<K, V> getMap<K, V>() => _gr.getMap<K, V>(this);