fix video call

merge-requests/767/head
Mohammad Aljammal 4 years ago
parent 4c8f79c87e
commit eb40cc819d

@ -24,7 +24,7 @@ class StartCallRes {
isAuthenticated = json['IsAuthenticated'];
messageStatus = json['MessageStatus'];
appointmentNo = json['AppointmentNo'];
isRecording = json['isRecording'];
isRecording = json['IsRecordedSession'] ?? false;
}
Map<String, dynamic> toJson() {
@ -35,7 +35,7 @@ class StartCallRes {
data['IsAuthenticated'] = this.isAuthenticated;
data['MessageStatus'] = this.messageStatus;
data['AppointmentNo'] = this.appointmentNo;
data['isRecording'] = this.isRecording;
data['IsRecordedSession'] = this.isRecording ?? false;
return data;
}
}

Loading…
Cancel
Save