getField abstract method
Return a representation of the value of the field with the given name
.
Return null
if either the object being represented does not have a field
with the given name or if the implementation of the class of the object is
invalid, making it impossible to determine that value of the field.
Note that, unlike the mirrors API, this method does not invoke a getter; it simply returns a representation of the known state of a field.
Implementation
DartObject? getField(String name);