DrivingBehaviorThresholdOption.fromMap constructor
- 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'];
}