pop<T extends Object> method Null safety

dynamic pop<T extends Object>(
  1. [T? result]
)

Pop the top-most route off the navigator.

Implementation

pop<T extends Object>([T? result]) {
  return navigator!.pop<T>(result);
}