contains method

bool contains(
  1. Object? resource
)

Implementation

bool contains(Object? resource) {
  return get(resource) != null;
}