popWithResult<T> method

void popWithResult<T>(
  1. T result
)

Pops the current route with a result.

Implementation

void popWithResult<T>(T result) => Navigator.of(this).pop(result);