EventNotification.fromJson constructor
Creates an EventNotification from JSON.
Implementation
factory EventNotification.fromJson(Map<String, dynamic> json) {
return EventNotification(
eventToNotify: json['EventToNotify']?.toString(),
eventDetails: json['EventDetails']?.toString(),
rejectedMessage: json['RejectedMessage']?.toString(),
timeStamp: json['TimeStamp']?.toString(),
additionalAttributes: Map<String, dynamic>.from(json)
..remove('EventToNotify')
..remove('EventDetails')
..remove('RejectedMessage')
..remove('TimeStamp'),
);
}