RegisteredDriver constructor

RegisteredDriver({
  1. String? accountCompanyUserId,
  2. String? name,
  3. String? countryCode,
  4. String? phoneNumber,
  5. String? email,
  6. String? companyName,
  7. num? averageTripScore,
  8. num? totalDistanceTravelled,
  9. int? totalTripCount,
  10. num? totalTripDurationInSeconds,
  11. int? currentStreak,
  12. int? longestStreak,
})

Implementation

RegisteredDriver({
  this.accountCompanyUserId,
  this.name,
  this.countryCode,
  this.phoneNumber,
  this.email,
  this.companyName,
  this.averageTripScore,
  this.totalDistanceTravelled,
  this.totalTripCount,
  this.totalTripDurationInSeconds,
  this.currentStreak,
  this.longestStreak,
});