isPrintable property
bool
isPrintable
Indicates if this CoapMediaType is printable.
Implementation
// TODO(JKRhb): Are there any uncovered cases?
bool get isPrintable =>
primaryType == 'text' ||
subType.endsWith('xml') ||
subType.endsWith('json') ||
this == applicationLinkFormat ||
this == applicationJavascript;