ENotificationMessage.fromJson constructor
Implementation
factory ENotificationMessage.fromJson(Map<String, dynamic> json) {
return ENotificationMessage(
id: json['id'],
title: json['title'] as String,
message: json['message'] as String,
time: json['time'] as int,
payload: json['payload'] ?? {});
}