DriveState constructor

DriveState({
  1. String? shiftState,
  2. String? speed,
  3. int? power,
  4. double? latitude,
  5. double? longitude,
  6. int? heading,
  7. int? gpsAsOf,
  8. int? nativeLocationSupported,
  9. double? nativeLatitude,
  10. double? nativeLongitude,
  11. String? nativeType,
  12. int? timestamp,
})

Constructs a new instance of the DriveState class.

Takes a series of optional parameters, each representing a specific aspect of the vehicle's drive state.

Implementation

DriveState({
  this.shiftState,
  this.speed,
  this.power,
  this.latitude,
  this.longitude,
  this.heading,
  this.gpsAsOf,
  this.nativeLocationSupported,
  this.nativeLatitude,
  this.nativeLongitude,
  this.nativeType,
  this.timestamp,
});