expectRoutes method

T expectRoutes(
  1. List<String> routes, {
  2. String? reason,
})

Implementation

T expectRoutes(List<String> routes, {String? reason}) {
  expectUIRoutes(routes, reason: reason);
  return this as T;
}