RecursiveObjectWriter class

Helper class to perform property introspection and dynamic writing.

It is similar to ObjectWriter but writes properties recursively through the entire object graph. Nested property names are defined using dot notation as 'object.subobject.property' See PropertyReflector See ObjectWriter

Constructors

RecursiveObjectWriter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

copyProperties(dynamic dest, dynamic src) → void
Copies content of one object to another object by recursively reading all properties from source object and then recursively writing them to destination object.
setProperties(dynamic obj, Map<String, dynamic>? values) → void
Recursively sets values of some (all) object and its subobjects properties.
setProperty(dynamic obj, String? name, dynamic value) → void
Recursively sets value of object and its subobjects property specified by its name.