PrimitiveProperty class abstract

An abstract base class for primitive properties which can e.g. be used within a composed ListProperty.

Inheritance
Implementers

Constructors

PrimitiveProperty({String? propertyName, bool required = false, bool indexed = true})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
indexed bool
Specifies whether this property should be indexed or not.
finalinherited
propertyName String?
The name of the property.
finalinherited
required bool
Specifies whether this property is required or not.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decodePrimitiveValue(ModelDB db, Object? value) Object?
override
encodeValue(ModelDB db, Object? value, {bool forComparison = false}) Object?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(ModelDB db, Object? value) bool
inherited

Operators

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