Record class

Individual record wrapper for any standard type

Constructors

Record(List<int> bytes)
factory

Properties

EXTENDED_TYPE → RecordTypeExtended
Wide record type, for a standard numbered in RecordTypeExtended (ordinals 256 and up) because union RecordType has no room for it. value is then NONE. Readers dispatch on standard or EXTENDED_TYPE.
no setter
EXTENDED_VALUE → List<int>?
The record's root FlatBuffer, with its file identifier, when EXTENDED_TYPE is set.
no setter
extendedType → RecordTypeExtended
no setter
extendedValue → List<int>?
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
standard → String?
Standard identifier (e.g., "OMM", "CDM", "CAT")
no setter
value → dynamic
The record data (union of all supported standards)
no setter
value_type → RecordTypeTypeId?
no setter
valueType → RecordTypeTypeId?
no setter

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

decryptBuffer(Uint8List bytes, List<int> key, [int recordIndex = 0]) → void
Decrypts, in place, the (encrypted) fields of a Record buffer with field-encryption format 3 (key: 32 bytes; recordIndex: unique per buffer under the key). Throws ArgumentError, before any byte changes, for a bad key or a malformed buffer.
encryptBuffer(Uint8List bytes, List<int> key, [int recordIndex = 0]) → void
Encrypts, in place, the (encrypted) fields of a Record buffer with field-encryption format 3 (key: 32 bytes; recordIndex: unique per buffer under the key). Throws ArgumentError, before any byte changes, for a bad key or a malformed buffer.

Constants

reader → const Reader<Record>