BMFOpenTruckNaviOption constructor Null safety

BMFOpenTruckNaviOption(
  1. {required BMFCoordinate? startCoord,
  2. String? startName,
  3. required BMFCoordinate? endCoord,
  4. String? endName,
  5. required BMFNaviType? naviType,
  6. String? appScheme,
  7. String? appName,
  8. bool? isSupportWeb = true,
  9. BMFNaviRoutePlanType? preferenceType,
  10. double? height,
  11. double? width,
  12. double? weight,
  13. double? length,
  14. double? axleWeight,
  15. int? axleCount,
  16. bool? isTrailer,
  17. String? plateProvince,
  18. String? plateNumber,
  19. int? plateColor,
  20. double? displacement,
  21. int? powerType,
  22. int? emissionLimit,
  23. bool? loadWeight}
)

Implementation

BMFOpenTruckNaviOption(
    {required BMFCoordinate? startCoord,
    String? startName,
    required BMFCoordinate? endCoord,
    String? endName,
    required BMFNaviType? naviType,
    String? appScheme,
    String? appName,
    bool? isSupportWeb = true,
    BMFNaviRoutePlanType? preferenceType,
    this.height,
    this.width,
    this.weight,
    this.length,
    this.axleWeight,
    this.axleCount,
    this.isTrailer,
    this.plateProvince,
    this.plateNumber,
    this.plateColor,
    this.displacement,
    this.powerType,
    this.emissionLimit,
    this.loadWeight})
    : super(
          startCoord: startCoord,
          startName: startName,
          endCoord: endCoord,
          endName: endName,
          naviType: naviType,
          appScheme: appScheme,
          appName: appName,
          isSupportWeb: isSupportWeb,
          preferenceType: preferenceType);