PropertyType enum

Use with Property.type.

Inheritance

Constructors

PropertyType()
const

Values

byte → const PropertyType

size: 1-byte/8-bits

short → const PropertyType

size: 2-bytes/16-bits

char → const PropertyType

Use with Property.type to store int as 2 bytes (16-bit unsigned integer).

int → const PropertyType

size: 4-bytes/32-bits

float → const PropertyType

size: 4-bytes/32-bits

date → const PropertyType

Unix timestamp (milliseconds since 1970), size: 8-bytes/64-bits

dateNano → const PropertyType

Unix timestamp (nanoseconds since 1970), size: 8-bytes/64-bits

byteVector → const PropertyType

Use with Property.type to store a List<int> as byte (8-bit integer) array.

Integers stored in the list are truncated to their lowest 8 bits, interpreted as signed 8-bit integer with values in the range of -128 to +127.

For more efficiency use Int8List or Uint8List instead.

charVector → const PropertyType

Use with Property.type to store a List<int> as char (16-bit unsigned integer) array.

shortVector → const PropertyType

Use with Property.type to store a List<int> as short (16-bit integer) array.

Integers stored in the list are truncated to their lowest 16 bits, interpreted as signed 16-bit integer with values in the range of -32768 to +32767.

For more efficiency use Int16List or Uint16List instead.

intVector → const PropertyType

Use with Property.type to store a List<int> as int (32-bit integer) array.

Integers stored in the list are truncated to their lowest 32 bits, interpreted as signed 32-bit integer with values in the range of -2147483648 to 2147483647.

For more efficiency use Int32List or Uint32List instead.

floatVector → const PropertyType

Use with Property.type to store a List<double> as float (32-bit floating point) array.

Double values stored in the list are converted to the nearest single-precision value. Values read are converted to a double value with the same value.

For more efficiency use Float32List instead.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.
inherited

Operators

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

Constants

values → const List<PropertyType>
A constant List of the values in this enum, in order of their declaration.