addToClass method Null safety

void addToClass(
  1. Declaration declaration
)

Adds a new declaration to the surrounding class.

Implementation

void addToClass(Declaration declaration);