register<T> method Null safety

void register<T>(
  1. T element
)

Used to register an element in the context

Implementation

void register<T>(T element);