matchesAnyFromName method

bool matchesAnyFromName(
  1. Iterable<String> others
)

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

Implementation

bool matchesAnyFromName(Iterable<String> others) =>
    others.any((it) => matchesFromName(it));