fromMinimalCompactJson static method
Creates an Initiator object from a minimal compact JSON map.
The json
parameter is a minimal compact JSON map representing the Initiator object.
Implementation
static Initiator fromMinimalCompactJson(Map<String, dynamic> json) {
try {
final initiator = Initiator(socketId: json["sid"]);
return initiator;
} catch (e) {
rethrow;
}
}