matchesAny method

bool matchesAny(
  1. Iterable<MediaType> others
)

Returns whether this media type matches any of the others media types.

Implementation

bool matchesAny(Iterable<MediaType> others) =>
    others.any((it) => matches(it));