YIMNotificationMessage.fromJson constructor

YIMNotificationMessage.fromJson(
  1. Map<String, dynamic> HtyHNKArhwxRaIIo
)

Implementation

YIMNotificationMessage.fromJson(Map<String, dynamic> HtyHNKArhwxRaIIo) {
  id = HtyHNKArhwxRaIIo["id"]?.toString() ?? "";
  from = HtyHNKArhwxRaIIo["from"]?.toString() ?? "";
  content = HtyHNKArhwxRaIIo["content"]?.toString() ?? "";
  time = DateTime.fromMillisecondsSinceEpoch(double.parse(HtyHNKArhwxRaIIo["time"]?.toString() ?? "0").toInt());
}