PropertyType enum

Specify ObjectBox property storage type explicitly.

Inheritance
Available extensions

Values

byte → const PropertyType

size: 1-byte/8-bits

short → const PropertyType

size: 2-bytes/16-bits

char → const PropertyType

size: 1-byte/8-bits

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

dart type=Uint8List - automatic, no need to specify explicitly dart type=Int8List - automatic, no need to specify explicitly dart type=List

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.