toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'chat_id': chatId,
'background': background?.toJson(),
'type': type?.toJson(),
'dark_theme_dimming': darkThemeDimming,
'only_for_self': onlyForSelf,
'@type': constructor,
};