getField abstract method

VariableDeclaration? getField(
  1. String name
)

Returns the field declared in the class/mixin with the given name, or null if there is no such field.

Implementation

VariableDeclaration? getField(String name);