DrivingBehaviorThresholdOption.fromMap constructor

DrivingBehaviorThresholdOption.fromMap(
  1. Map map
)

map => DrivingBehaviorThresholdOption

Implementation

DrivingBehaviorThresholdOption.fromMap(Map map)
    : assert(map != null,
          'Construct a DrivingBehaviorThresholdOption,The parameter map cannot be null !') {
  speedingThreshold = map['speedingThreshold'];
  harshAccelerationThreshold = map['harshAccelerationThreshold'];
  harshBreakingThreshold = map['harshBreakingThreshold'];
  harshSteeringThreshold = map['harshSteeringThreshold'];
}