UserJoinedData.fromJson constructor

UserJoinedData.fromJson(
  1. dynamic json
)

Implementation

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