class NotificationResponseModel {
  int? id;
  int? recordId;
  int? patientID;
  bool? projectOutSA;
  String? deviceType;
  String? deviceToken;
  String? message;
  String? messageType;
  String? messageTypeData;
  String? videoURL;
  bool? isQueue;
  String? isQueueOn;
  String? createdOn;
  dynamic createdBy;
  String? notificationType;
  bool? isSent;
  String? isSentOn;
  bool? isRead;
  dynamic isReadOn;
  int? channelID;
  int? projectID;

  NotificationResponseModel(
      {this.id,
        this.recordId,
        this.patientID,
        this.projectOutSA,
        this.deviceType,
        this.deviceToken,
        this.message,
        this.messageType,
        this.messageTypeData,
        this.videoURL,
        this.isQueue,
        this.isQueueOn,
        this.createdOn,
        this.createdBy,
        this.notificationType,
        this.isSent,
        this.isSentOn,
        this.isRead,
        this.isReadOn,
        this.channelID,
        this.projectID});

  NotificationResponseModel.fromJson(Map<String, dynamic> json) {
    id = json['Id'];
    recordId = json['RecordId'];
    patientID = json['PatientID'];
    projectOutSA = json['ProjectOutSA'];
    deviceType = json['DeviceType'];
    deviceToken = json['DeviceToken'];
    message = json['Message'];
    messageType = json['MessageType'];
    messageTypeData = json['MessageTypeData'];
    videoURL = json['VideoURL'];
    isQueue = json['IsQueue'];
    isQueueOn = json['IsQueueOn'];
    createdOn = json['CreatedOn'];
    createdBy = json['CreatedBy'];
    notificationType = json['NotificationType'];
    isSent = json['IsSent'];
    isSentOn = json['IsSentOn'];
    isRead = json['IsRead'];
    isReadOn = json['IsReadOn'];
    channelID = json['ChannelID'];
    projectID = json['ProjectID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['Id'] = this.id;
    data['RecordId'] = this.recordId;
    data['PatientID'] = this.patientID;
    data['ProjectOutSA'] = this.projectOutSA;
    data['DeviceType'] = this.deviceType;
    data['DeviceToken'] = this.deviceToken;
    data['Message'] = this.message;
    data['MessageType'] = this.messageType;
    data['MessageTypeData'] = this.messageTypeData;
    data['VideoURL'] = this.videoURL;
    data['IsQueue'] = this.isQueue;
    data['IsQueueOn'] = this.isQueueOn;
    data['CreatedOn'] = this.createdOn;
    data['CreatedBy'] = this.createdBy;
    data['NotificationType'] = this.notificationType;
    data['IsSent'] = this.isSent;
    data['IsSentOn'] = this.isSentOn;
    data['IsRead'] = this.isRead;
    data['IsReadOn'] = this.isReadOn;
    data['ChannelID'] = this.channelID;
    data['ProjectID'] = this.projectID;
    return data;
  }
}
