IncomingConnectionRequestData.fromJson constructor
IncomingConnectionRequestData.fromJson(
- dynamic json
Implementation
factory IncomingConnectionRequestData.fromJson(dynamic json) {
return IncomingConnectionRequestData(
userId: json['userId'],
name: json['name'],
config: Config(
audioEnabled: json['config']['audioEnabled'],
videoEnabled: json['config']['videoEnabled'],
),
);
}