toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final banDurationSeconds = this.banDurationSeconds;
  final banType = this.banType;
  final bannedUserDetails = this.bannedUserDetails;
  return {
    'banDurationSeconds': ?banDurationSeconds,
    'banType': ?banType,
    'bannedUserDetails': ?bannedUserDetails,
  };
}