pop method Null safety

void pop()

Implementation

void pop() {
  _currentContextState = _currentContextState!.previousContextState;
}