PropertyDefinitionFlags enum

Defines how a complex property behaves.
Inheritance

Constructors

PropertyDefinitionFlags()
const

Values

None → const PropertyDefinitionFlags
No specific behavior.
AutoInstantiateOnRead → const PropertyDefinitionFlags
The property is automatically instantiated when it is read.
ReuseInstance → const PropertyDefinitionFlags
The existing instance of the property is reusable.
CanSet → const PropertyDefinitionFlags
The property can be set.
CanUpdate → const PropertyDefinitionFlags
The property can be updated.
CanDelete → const PropertyDefinitionFlags
The property can be deleted.
CanFind → const PropertyDefinitionFlags
The property can be searched.
MustBeExplicitlyLoaded → const PropertyDefinitionFlags
The property must be loaded explicitly
UpdateCollectionItems → const PropertyDefinitionFlags
Only meaningful for "collection" property. With this flag, the item in the collection gets updated, instead of creating and adding new items to the collection. Should be used together with the ReuseInstance flag.

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<PropertyDefinitionFlags>
A constant List of the values in this enum, in order of their declaration.