pop<T> method

void pop<T>({
  1. T? data,
})

Pop the top-most route off the navigator.

Implementation

void pop<T>({T? data}) {
  try {
    Navigator.of(this).pop(data);
  } on Exception catch (e, s) {
    errorLogsNS('pop failed', e, s);
  }
}