UserProfile class

Constructors

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})
UserProfile.fromJson(Map<String, dynamic> json)
factory

Properties

activityHeartRateVisibility → String
final
activityMapVisibility → String
final
activityPowerVisibility → String
final
activityStartVisibility → String
final
allowGolfLiveScoring → bool
final
allowGolfScoringByConnections → bool
final
badgeVisibility → String
final
bio → String?
final
courseVisibility → String
final
cyclingClassification → String?
final
cyclingMaxAvgPower → double
final
cyclingTrainingSpeed → double
final
displayName → String
final
facebookUrl → String?
final
favoriteActivityTypes → List<String>
final
favoriteCyclingActivityTypes → List<String>
final
fullName → String
final
garminGuid → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
final
levelIsViewed → bool
final
levelPointThreshold → int
final
levelUpdateDate → String
final
location → String?
final
makeGolfScorecardsPrivate → bool
final
motivation → String?
final
nameApproved → bool
final
otherActivity → String?
final
otherMotivation → String?
final
otherPrimaryActivity → String?
final
personalWebsite → String?
final
primaryActivity → String?
final
profileId → int
final
profileImageType → String?
final
profileImageUrlLarge → String?
final
profileImageUrlMedium → String?
final
profileImageUrlSmall → String?
final
profileVisibility → String
final
runningTrainingSpeed → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showActivityClass → bool
final
showAge → bool
final
showAgeRange → bool
final
showBadges → bool
final
showGender → bool
final
showHeight → bool
final
showLast12Months → bool
final
showLifetimeTotals → bool
final
showPersonalRecords → bool
final
showRecentDevice → bool
final
showRecentFavorites → bool
final
showRecentGear → bool
final
showUpcomingEvents → bool
final
showVo2Max → bool
final
showWeight → bool
final
showWeightClass → bool
final
swimmingTrainingSpeed → double
final
twitterUrl → String?
final
userLevel → int
final
userName → String
final
userPoint → int
final
userPointOffset → int
final
userPro → bool
final
userProfileFullName → String
final
userRoles → List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

get({GarthClient? client}) → Future<UserProfile>