CallingMessage.fromJSON constructor
CallingMessage.fromJSON(
- dynamic json
Implementation
CallingMessage.fromJSON(json) {
actionType = json["actionType"];
timeout = json["timeout"];
inviter = json["inviter"];
inviteeList = List<String>.from(json["inviteeList"]);
inviteID = json["inviteID"];
// callType = jsonDecode(json["data"])["call_type"];
// roomID = jsonDecode(json["data"])["room_id"];
// callEnd = jsonDecode(json["data"])["call_end"];
}