ManagedBacking class

Instances of this class provide storage for ManagedObjects.

This class is primarily used internally.

A ManagedObject stores properties declared by its type argument in instances of this type. Values are validated against the ManagedObject.entity.

Instances of this type only store properties for which a value has been explicitly set. This allows serialization classes to omit unset values from the serialized values. Therefore, instances of this class provide behavior that can differentiate between a property being the null value and a property simply not being set. (Therefore, you must use removeProperty instead of setting a value to null to really remove it from instances of this type.)

Aqueduct implements concrete subclasses of this class to provide behavior for property storage and query-building.

Constructors

ManagedBacking()

Properties

contents → Map<String, dynamic>
A map of all set values of this instance.
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

removeProperty(String propertyName) → void
Removes a property from this instance. [...]
setValueForProperty(ManagedPropertyDescription property, dynamic value) → void
Sets a property by its entity and name.
valueForProperty(ManagedPropertyDescription property) → dynamic
Retrieve a property by its entity and name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited