pop<T> method

void pop<T>([
  1. T? result
])

Implementation

void pop<T>([T? result]) {
  if (mounted) {
    Navigator.of(this).pop(result);
  }
}