Transports.fromJson(- dynamic json
)
Implementation
Transports.fromJson(dynamic json) {
_janustransporthttp = json['janus.transport.http'] != null
? JanusTransportHttp.fromJson(json['janus.transport.http'])
: null;
_janustransportnanomsg = json['janus.transport.nanomsg'] != null
? JanusTransportNanomsg.fromJson(json['janus.transport.nanomsg'])
: null;
_janustransportwebsockets = json['janus.transport.websockets'] != null
? JanusTransportWebsockets.fromJson(json['janus.transport.websockets'])
: null;
}