PlayerAttributes constructor
PlayerAttributes({})
Creates a new PlayerAttributes object.
Arguments (all optional):
displayName: The player's display name.firstName: The player's first name.lastName: The player's last name.email: The player's email address.gender: The player's gender.mobileNumber: The player's mobile number.dateOfBirth: The player's date of birth (API format).joinDate: The player's join date (API format).preferredLanguage: The player's preferred language.channel: The channel through which the player joined (defaults to "mobile").customAttributes: A map of additional custom player attributes.
Implementation
PlayerAttributes({
this.displayName,
this.firstName,
this.lastName,
this.email,
this.gender,
this.mobileNumber,
this.dateOfBirth,
this.joinDate,
this.preferredLanguage,
this.channel,
this.customAttributes,
});