SignalingCommonEntity.fromJson constructor
SignalingCommonEntity.fromJson(
- dynamic data
Implementation
SignalingCommonEntity.fromJson(data) {
Map<String, dynamic> json =
data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
if (json['inviteID'] != null) inviteID = json["inviteID"];
if (json['inviter'] != null) inviter = json["inviter"];
if (json['invitee'] != null) invitee = json["invitee"];
if (json['inviteeList'] != null)
inviteeList = json["inviteeList"]?.cast<String>();
if (json['data'] != null) this.data = json["data"];
}