canPop method Null safety

bool canPop()

Implementation

bool canPop() => navigator!.canPop();