ManagedBacking class abstract

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.)

aquedart 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.
no setter
hashCode int
The hash code for this object.
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
removeProperty(String? propertyName) → void
Removes a property from this instance.
setValueForProperty(ManagedPropertyDescription property, dynamic value) → void
Sets a property by its entity and name.
toString() String
A string representation of this object.
inherited
valueForProperty(ManagedPropertyDescription property) → dynamic
Retrieve a property by its entity and name.

Operators

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