CreateParticipantConnectionResponse.fromJson constructor
CreateParticipantConnectionResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateParticipantConnectionResponse.fromJson(
Map<String, dynamic> json) {
return CreateParticipantConnectionResponse(
connectionCredentials: json['ConnectionCredentials'] != null
? ConnectionCredentials.fromJson(
json['ConnectionCredentials'] as Map<String, dynamic>)
: null,
websocket: json['Websocket'] != null
? Websocket.fromJson(json['Websocket'] as Map<String, dynamic>)
: null,
);
}