tryArray method

  1. @override
Arr? tryArray(
  1. int 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(int key) {
  try {
    return array(key);
  } on Exception {
    return null;
  }
}