Dynamically get field of object in dart Dynamically get field of object in dart dart dart

Dynamically get field of object in dart


Once you get your InstanceMirror representing the field, simply call field.reflectee.


I found it. The actual value is in the InstanceMirror .reflectee property.