RetainingObject class

See RetainingPath.

Constructors

RetainingObject({ObjRef? value, int? parentListIndex, ObjRef? parentMapKey, dynamic parentField})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
parentField ↔ dynamic
If value is a non-List, non-Map object, parentField is the name of the field containing the previous object on the retaining path.
read / write
parentListIndex int?
If value is a List, parentListIndex is the index where the previous object on the retaining path is located (deprecated).
read / write
parentMapKey ObjRef?
If value is a Map, parentMapKey is the key mapping to the previous object on the retaining path.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value ObjRef?
An object that is part of a retaining path.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

parse(Map<String, dynamic>? json) RetainingObject?