toJson method
Implementation
Map<String, dynamic> toJson() => {
'nick': nick,
'username': username,
'host': host,
'realname': realname,
'server': server,
'server_info': server_info,
'operator': operator,
'idle_secs': idle_secs,
'signon_ms': signon_ms,
'channels': channels.map((e) => e).toList(),
'account': account,
'actual_host': actual_host,
'secure': secure,
'complete': complete,
};