IncomingConnectionRequestData.fromJson constructor

IncomingConnectionRequestData.fromJson(
  1. 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'],
    ),
  );
}