getValue abstract method
Gets the field's value from an instance.
Parameters:
instance
: The object instance (null for static fields)
Returns:
- The current field value
Throws:
AccessError
if field is not readableNullReferenceError
for null instance on instance fields
Example:
final value = field.getValue(instance);
Implementation
dynamic getValue([Object? instance]);