BMFMassTransitRoutePlanOption.fromMap constructor
- Map map
map => BMFMassTransitRoutePlanOption
Implementation
BMFMassTransitRoutePlanOption.fromMap(Map map) : super.fromMap(map) {
pageCapacity = map['pageCapacity'] as int;
pageIndex = map['pageIndex'] as int;
incityPolicy =
BMFMassTransitIncityPolicy.values[map['incityPolicy'] as int];
intercityPolicy =
BMFMassTransitIntercityPolicy.values[map['intercityPolicy'] as int];
intercityTransPolicy = BMFMassTransitIntercityTransPolicy
.values[map['intercityTransPolicy'] as int];
}