CallReplaces.fromJson constructor

CallReplaces.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CallReplaces.fromJson(Map<String, dynamic> json) => CallReplaces(
      replacement_id: json['replacement_id']?.toString(),
      create_call: json['create_call']?.toString(),
      await_call: json['await_call']?.toString(),
      target_room: json['target_room']?.toString(),
      target_user: CallReplacesTarget.fromJson(json['target_user']),
    );