toMinimalCompactJson method
Converts the Initiator object to a minimal compact JSON map.
Implementation
Map<String, dynamic> toMinimalCompactJson() {
try {
final Map<String, dynamic> data = {};
data["sid"] = socketId;
return data;
} catch (e) {
rethrow;
}
}