SmartPosterRecord class

Inheritance

Constructors

SmartPosterRecord({dynamic title, dynamic uri, Action? action, Map<String, Uint8List>? icon, int? size, String? typeInfo})
SmartPosterRecord.fromList({List<TextRecord>? titleRecords, List<UriRecord>? uriRecords, List<ActionRecord>? actionRecords, List<MimeRecord>? iconRecords, List<SizeRecord>? sizeRecords, List<TypeRecord>? typeRecords})

Properties

action Action?
get the first action if it exists
getter/setter pair
actionRecords List<NDEFRecord>
no setter
allRecords List<NDEFRecord>
no setter
basicInfoString String
no setterinherited
decodedType String
getter/setter pairinherited-setteroverride-getter
encodedType Uint8List?
getter/setter pairinherited
flags NDEFRecordFlags
getter/setter pairinherited
fullType String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icon Map<String?, Uint8List?>?
getter/setter pair
iconRecord MimeRecord?
getter/setter pair
iconRecords List<NDEFRecord>
no setter
id Uint8List?
getter/setter pairinherited
idString String
Hex String of id, return "(empty)" when the id bytes is null
getter/setter pairinherited
maxPayloadLength int?
no setterinherited
minPayloadLength int
no setterinherited
payload Uint8List
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
getter/setter pair
sizeRecords List<NDEFRecord>
no setter
title String?
get the English title; if not existing, get the first title
getter/setter pair
titleRecords List<NDEFRecord>
no setter
titles Map<String?, String?>
no setter
tnf TypeNameFormat
getter/setter pairinherited
type Uint8List?
getter/setter pairinherited
typeInfo String?
getter/setter pair
typeRecords List<NDEFRecord>
no setter
uri Uri?
getter/setter pair
uriRecord UriRecord?
no setter
uriRecords List<NDEFRecord>
no setter

Methods

addActionRecord(ActionRecord record) → void
addIcon(Map<String, Uint8List> icon) → void
addIconRecord(MimeRecord record) → void
addSizeRecord(SizeRecord record) → void
addTitle(String text, {String language = 'en', TextEncoding encoding = TextEncoding.UTF8}) → void
addTitleRecord(TextRecord record) → void
addTypeRecord(TypeRecord record) → void
addUriRecord(UriRecord record) → void
encode() Uint8List
Encode this NDEFRecord to raw byte data.
inherited
isEqual(NDEFRecord other) bool
override
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

typeFactory(TypeNameFormat tnf, String classType) NDEFRecord

Constants

classType → const String