RetainingObject class Null safety
See RetainingPath.
Constructors
- RetainingObject({ObjRef? value, int? parentListIndex, ObjRef? parentMapKey, String? parentField})
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- parentField ↔ String?
-
The name of the field containing the retaining object within an object.
optional">@optionalread / write
- parentListIndex ↔ int?
-
The offset of the retaining object in a containing list.
optional">@optionalread / write
- parentMapKey ↔ ObjRef?
-
The key mapping to the retaining object in a containing map.
optional">@optionalread / 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 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?