RetainingObject class

See RetainingPath.

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
getter/setter pair
parentListIndex int?
If value is a List, parentListIndex is the index where the previous object on the retaining path is located (deprecated).
getter/setter pair
parentMapKey ObjRef?
If value is a Map, parentMapKey is the key mapping to the previous object on the retaining path.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ObjRef?
An object that is part of a retaining path.
getter/setter pair

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?