RetainingObject class Null safety

See RetainingPath.

Constructors

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

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
parentField String?
The name of the field containing the retaining object within an object.
@optional, read / write
parentListIndex int?
The offset of the retaining object in a containing list.
@optional, read / write
parentMapKey ObjRef?
The key mapping to the retaining object in a containing map.
@optional, read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value ObjRef?
An object that is part of a retaining path.
read / write

Methods

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