toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"server": server,
"port": port,
"type": type.toJson(),
"dc_id": dcId,
"timeout": timeout,
"@extra": extra,
};
}