ManagedBacking class Null safety

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

Conduit 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-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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