matchesFromName method

bool matchesFromName(
  1. String? other
)

Returns whether this media type and other are the same, ignoring parameters that are not in both media types.

Implementation

bool matchesFromName(String? other) => matches(other?.let((it) => parse(it)));