UserProfile constructor
UserProfile({
- required int id,
- required int profileId,
- required String garminGuid,
- required String displayName,
- required String fullName,
- required String userName,
- String? profileImageType,
- String? profileImageUrlLarge,
- String? profileImageUrlMedium,
- String? profileImageUrlSmall,
- String? location,
- String? facebookUrl,
- String? twitterUrl,
- String? personalWebsite,
- String? motivation,
- String? bio,
- String? primaryActivity,
- required List<
String> favoriteActivityTypes, - required double runningTrainingSpeed,
- required double cyclingTrainingSpeed,
- required List<
String> favoriteCyclingActivityTypes, - String? cyclingClassification,
- required double cyclingMaxAvgPower,
- required double swimmingTrainingSpeed,
- required String profileVisibility,
- required String activityStartVisibility,
- required String activityMapVisibility,
- required String courseVisibility,
- required String activityHeartRateVisibility,
- required String activityPowerVisibility,
- required String badgeVisibility,
- required bool showAge,
- required bool showWeight,
- required bool showHeight,
- required bool showWeightClass,
- required bool showAgeRange,
- required bool showGender,
- required bool showActivityClass,
- required bool showVo2Max,
- required bool showPersonalRecords,
- required bool showLast12Months,
- required bool showLifetimeTotals,
- required bool showUpcomingEvents,
- required bool showRecentFavorites,
- required bool showRecentDevice,
- required bool showRecentGear,
- required bool showBadges,
- String? otherActivity,
- String? otherPrimaryActivity,
- String? otherMotivation,
- required List<
String> userRoles, - required bool nameApproved,
- required String userProfileFullName,
- required bool makeGolfScorecardsPrivate,
- required bool allowGolfLiveScoring,
- required bool allowGolfScoringByConnections,
- required int userLevel,
- required int userPoint,
- required String levelUpdateDate,
- required bool levelIsViewed,
- required int levelPointThreshold,
- required int userPointOffset,
- required bool userPro,
Implementation
UserProfile({
required this.id,
required this.profileId,
required this.garminGuid,
required this.displayName,
required this.fullName,
required this.userName,
this.profileImageType,
this.profileImageUrlLarge,
this.profileImageUrlMedium,
this.profileImageUrlSmall,
this.location,
this.facebookUrl,
this.twitterUrl,
this.personalWebsite,
this.motivation,
this.bio,
this.primaryActivity,
required this.favoriteActivityTypes,
required this.runningTrainingSpeed,
required this.cyclingTrainingSpeed,
required this.favoriteCyclingActivityTypes,
this.cyclingClassification,
required this.cyclingMaxAvgPower,
required this.swimmingTrainingSpeed,
required this.profileVisibility,
required this.activityStartVisibility,
required this.activityMapVisibility,
required this.courseVisibility,
required this.activityHeartRateVisibility,
required this.activityPowerVisibility,
required this.badgeVisibility,
required this.showAge,
required this.showWeight,
required this.showHeight,
required this.showWeightClass,
required this.showAgeRange,
required this.showGender,
required this.showActivityClass,
required this.showVo2Max,
required this.showPersonalRecords,
required this.showLast12Months,
required this.showLifetimeTotals,
required this.showUpcomingEvents,
required this.showRecentFavorites,
required this.showRecentDevice,
required this.showRecentGear,
required this.showBadges,
this.otherActivity,
this.otherPrimaryActivity,
this.otherMotivation,
required this.userRoles,
required this.nameApproved,
required this.userProfileFullName,
required this.makeGolfScorecardsPrivate,
required this.allowGolfLiveScoring,
required this.allowGolfScoringByConnections,
required this.userLevel,
required this.userPoint,
required this.levelUpdateDate,
required this.levelIsViewed,
required this.levelPointThreshold,
required this.userPointOffset,
required this.userPro,
});