BMFMassTransitRoutePlanOption constructor

BMFMassTransitRoutePlanOption(
  1. {@required BMFPlanNode from,
  2. @required BMFPlanNode to,
  3. int pageCapacity: 10,
  4. int pageIndex: 0,
  5. BMFMassTransitIncityPolicy incityPolicy: BMFMassTransitIncityPolicy.RECOMMEND,
  6. BMFMassTransitIntercityPolicy intercityPolicy: BMFMassTransitIntercityPolicy.TIME_FIRST,
  7. BMFMassTransitIntercityTransPolicy intercityTransPolicy: BMFMassTransitIntercityTransPolicy.TRAIN_FIRST}
)

有参构造

Implementation

BMFMassTransitRoutePlanOption(
    {@required BMFPlanNode from,
    @required BMFPlanNode to,
    this.pageCapacity: 10,
    this.pageIndex: 0,
    this.incityPolicy: BMFMassTransitIncityPolicy.RECOMMEND,
    this.intercityPolicy: BMFMassTransitIntercityPolicy.TIME_FIRST,
    this.intercityTransPolicy:
        BMFMassTransitIntercityTransPolicy.TRAIN_FIRST})
    : super(from: from, to: to);