toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final avatarImageUrl = this.avatarImageUrl;
  final bannerUrlLandscape = this.bannerUrlLandscape;
  final bannerUrlPortrait = this.bannerUrlPortrait;
  final displayName = this.displayName;
  final experienceInfo = this.experienceInfo;
  final friendStatus = this.friendStatus;
  final gamePlayerId = this.gamePlayerId;
  final kind = this.kind;
  final name = this.name;
  final originalPlayerId = this.originalPlayerId;
  final playerId = this.playerId;
  final profileSettings = this.profileSettings;
  final title = this.title;
  return {
    'avatarImageUrl': ?avatarImageUrl,
    'bannerUrlLandscape': ?bannerUrlLandscape,
    'bannerUrlPortrait': ?bannerUrlPortrait,
    'displayName': ?displayName,
    'experienceInfo': ?experienceInfo,
    'friendStatus': ?friendStatus,
    'gamePlayerId': ?gamePlayerId,
    'kind': ?kind,
    'name': ?name,
    'originalPlayerId': ?originalPlayerId,
    'playerId': ?playerId,
    'profileSettings': ?profileSettings,
    'title': ?title,
  };
}