main
hrxiang 3 years ago
parent c99d1e4d67
commit a77c86e87a
  1. 27
      lib/src/models/signaling_info.dart

@ -65,15 +65,16 @@ class InvitationInfo {
/// [Platform]
int? platformID;
InvitationInfo({this.inviterUserID,
this.inviteeUserIDList,
this.groupID,
this.roomID,
this.timeout,
this.initiateTime,
this.mediaType,
this.sessionType,
this.platformID});
InvitationInfo(
{this.inviterUserID,
this.inviteeUserIDList,
this.groupID,
this.roomID,
this.timeout,
this.initiateTime,
this.mediaType,
this.sessionType,
this.platformID});
InvitationInfo.fromJson(Map<String, dynamic> json) {
inviterUserID = json['inviterUserID'];
@ -127,9 +128,9 @@ class SignalingCertificate {
token = json['token'];
roomID = json['roomID'];
liveURL = json['liveURL'];
busyLineUserIDList =
null == json['busyLineUserIDList'] ? null : json['busyLineUserIDList'].cast<
String>();
busyLineUserIDList = null == json['busyLineUserIDList']
? null
: json['busyLineUserIDList'].cast<String>();
}
Map<String, dynamic> toJson() {
@ -206,7 +207,7 @@ class Participant {
? GroupMembersInfo.fromJson(json['groupMemberInfo'])
: null;
userInfo =
json['userInfo'] != null ? UserInfo.fromJson(json['userInfo']) : null;
json['userInfo'] != null ? UserInfo.fromJson(json['userInfo']) : null;
}
Map<String, dynamic> toJson() {

Loading…
Cancel
Save