tryArray method

  1. @override
Arr? tryArray(
  1. String key
)
override

Returns a child data array at key or null if missing.

null is returned if an underlying value is unavailable or cannot be represented as DataArray.

Implementation

@override
Arr? tryArray(String key) {
  try {
    return array(key);
  } on Exception {
    return null;
  }
}