getFieldName function

String getFieldName(
  1. FieldDeclaration field
)

Implementation

String getFieldName(FieldDeclaration field) {
  return field.fields.variables.first.name.lexeme;
}