getValue abstract method

dynamic getValue(
  1. dynamic instance
)

Returns the value of this field on the given instance.

  • If the field is static, instance must be null.
  • If the field is instance-based, instance must be a valid object.

Throws if the field cannot be read.

Implementation

dynamic getValue(dynamic instance);