objectOrNull<R> method

Map<String, R>? objectOrNull<R>(
  1. String key
)

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();