expectRoute method

Future<T> expectRoute(
  1. String route, {
  2. String? reason,
})

Implementation

Future<T> expectRoute(String route, {String? reason}) =>
    thenChain((o) => o.expectRoute(route, reason: reason));