MyAccountDetails constructor

MyAccountDetails({
  1. required String username,
  2. required String email,
  3. required bool member,
  4. DateTime? memberExpiration,
  5. required AccountStatus status,
  6. List<String> badges = const [],
  7. List<String> skins = const [],
  8. required int gems,
  9. required int eventToken,
  10. required int achievementsPoints,
  11. required bool banned,
  12. String? banReason,
})

Returns a new MyAccountDetails instance.

Implementation

MyAccountDetails({
  required this.username,
  required this.email,
  required this.member,
  this.memberExpiration,
  required this.status,
  this.badges = const [],
  this.skins = const [],
  required this.gems,
  required this.eventToken,
  required this.achievementsPoints,
  required this.banned,
  this.banReason,
});