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