type property

PropertyType? type
final

Override dart type with an alternative ObjectBox property type.

A dart int value can map to different PropertyTypes, e.g. Short (Int16), Int (Int32), Long (Int64), all signed values. Also a dart double can also map to e.g. Float and Double

The defaults are e.g. Int -> Int64, double -> Float64, bool -> Bool.

Implementation

final PropertyType? type;