ShuttleUpdate constructor

ShuttleUpdate(
  1. {dynamic latitude,
  2. dynamic longitude,
  3. int id,
  4. String trackerId,
  5. num heading,
  6. num speed,
  7. String time,
  8. String created,
  9. int vehicleId,
  10. int routeId}
)

Uses a super constructor to define lat/lng attributes

Implementation

ShuttleUpdate(
    {this.latitude,
    this.longitude,
    this.id,
    this.trackerId,
    this.heading,
    this.speed,
    this.time,
    this.created,
    this.vehicleId,
    this.routeId});