RegisteredDriver constructor
RegisteredDriver({
- String? accountCompanyUserId,
- String? name,
- String? countryCode,
- String? phoneNumber,
- String? email,
- String? companyName,
- num? averageTripScore,
- num? totalDistanceTravelled,
- int? totalTripCount,
- num? totalTripDurationInSeconds,
- int? currentStreak,
- int? longestStreak,
- String referralCode = '',
- UserProfileTier profileTier = UserProfileTier.none,
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,
this.referralCode = '',
this.profileTier = UserProfileTier.none,
});