JanusEvent.fromJson constructor Null safety

JanusEvent.fromJson(
  1. 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;
}