PropertyType enum Null safety

Specify ObjectBox property storage type explicitly.

Constants

byte → const PropertyType

size: 1-byte/8-bits

const PropertyType(0)
byteVector → const PropertyType

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

const PropertyType(7)
char → const PropertyType

size: 1-byte/8-bits

const PropertyType(2)
date → const PropertyType

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

const PropertyType(5)
dateNano → const PropertyType

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

const PropertyType(6)
float → const PropertyType

size: 4-bytes/32-bits

const PropertyType(4)
int → const PropertyType

size: 4-bytes/32-bits

const PropertyType(3)
short → const PropertyType

size: 2-bytes/16-bits

const PropertyType(1)
values → const List<PropertyType>

A constant List of the values in this enum, in order of their declaration.

const List<PropertyType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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