MimeRecord class

A record holding media data typed by a MIME type, as defined by RFC 2046.

Properties

data Uint8List
The media content.
final
hashCode int
The hash code for this object.
no setterinherited
mimeType String
The MIME type, lowercased, without any parameters.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create(String mimeType, Uint8List data) NdefRecord
Builds a media record. Parameters after ; are dropped, since NDEF stores the bare type.
from(NdefRecord record) MimeRecord?
Reads record as a media record, or returns null when it is not one.