expectRoute method

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

Implementation

T expectRoute(String route, {String? reason}) {
  expectUIRoute(route, reason: reason);
  return this as T;
}