toJson method

Map<String, dynamic> toJson()

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 (friendStatus != null) 'friendStatus': friendStatus!,
      if (gamePlayerId != null) 'gamePlayerId': gamePlayerId!,
      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!,
    };