typedObject<T, R> method
Get Map<T,R> by String key.
Throws SquintException if key is not found
or values are not all of type R
.
Implementation
Map<T, R> typedObject<T, R>({
required String key,
required T Function(String) toTypedKey,
R Function(dynamic)? toTypedValue,
}) =>
objectNode(key).getDataAsTypedMap(
toTypedKey: toTypedKey, toTypedValue: toTypedValue);