tryObject method

  1. @override
Obj? tryObject(
  1. String key
)
override

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

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

Implementation

@override
Obj? tryObject(String key) {
  try {
    return object(key);
  } on Exception {
    return null;
  }
}