toJson method
Implementation
Map<String, dynamic> toJson() => {
"host": host,
"port": port,
"ssl": ssl,
"password": password,
"shards": shards,
"clientId": clientId.id,
"nodeId": nodeId,
"maxConnectAttempts": maxConnectAttempts,
"delayBetweenReconnections": delayBetweenReconnections.inMilliseconds,
"clientName": clientName
};