ExternalRecord class

A record holding application-specific data, namespaced by a domain.

Properties

data Uint8List
The content.
final
domain String
The owning domain, such as example.com.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type within that domain.
final

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 domain, String type, Uint8List data) NdefRecord
Builds an external record. The stored type is domain:type, lowercased.
from(NdefRecord record) ExternalRecord?
Reads record as an external record, or returns null when it is not one or carries no domain:type separator.