JanusEvent.fromJson constructor Null safety
- dynamic json
Implementation
JanusEvent.fromJson(dynamic json) {
janus = json['janus'];
sessionId = json['session_id'];
transaction = json['transaction'];
sender = json['sender'];
plugindata = json['plugindata'] != null ? Plugindata.fromJson(json['plugindata']) : null;
}