freeze method

void freeze()

Call when configuration is complete to prevent modifications later

Implementation

void freeze() => _frozen = true;