NavigateAction<St> constructor

NavigateAction<St>(
  1. String routeName,
  2. {@required NavigateType navigateType,
  3. Object arguments,
  4. RoutePredicate predicate}
)

Implementation

NavigateAction(this.routeName, {@required this.navigateType, this.arguments, this.predicate})
    : assert(navigateType != null),
      assert((navigateType == NavigateType.pushNamedAndRemoveUntil && predicate != null) ||
          predicate == null),
      assert(navigateType == NavigateType.pop || routeName != null),
      route = null;