addTypeToLibary method Null safety

void addTypeToLibary(
  1. Declaration typeDeclaration
)

Adds a new type declaration to the surrounding library.

Implementation

void addTypeToLibary(Declaration typeDeclaration);