busy method Null safety

bool busy(
  1. Object? object
)

Returns the busy status for an object if it exists. Returns false if not present

Implementation

bool busy(Object? object) => _busyStates[object.hashCode] ?? false;