includes method

bool includes(
  1. covariant MediaType other
  • Indicate whether this MediaType includes the given media type.
    • For instance, text includes text/plain and text/html,
      • and application+xml includes application/soap+xml, etc. This
      • method is not symmetric.
      • @param other the reference media type with which to compare
      • @return true if this media type includes the given media type;
      • false otherwise


bool includes(covariant MediaType other) {
	return super.includes(other);