toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (avatarImageUrl != null) 'avatarImageUrl': avatarImageUrl!,
if (bannerUrlLandscape != null)
'bannerUrlLandscape': bannerUrlLandscape!,
if (bannerUrlPortrait != null) 'bannerUrlPortrait': bannerUrlPortrait!,
if (displayName != null) 'displayName': displayName!,
if (experienceInfo != null) 'experienceInfo': experienceInfo!,
if (kind != null) 'kind': kind!,
if (name != null) 'name': name!,
if (originalPlayerId != null) 'originalPlayerId': originalPlayerId!,
if (playerId != null) 'playerId': playerId!,
if (profileSettings != null) 'profileSettings': profileSettings!,
if (title != null) 'title': title!,
};