objectOrNull<R> method
Get Map<String,R> by String key.
Throws SquintException if key is not found
or values are not all of type R
.
Implementation
Map<String, R>? objectOrNull<R>(String key) =>
objectNodeOrNull(key)?.getDataAsMap();