PubSubMessage.fromJson constructor
Implementation
factory PubSubMessage.fromJson(Map<String, dynamic> json) => PubSubMessage(
id: json["id"],
message: json["message"],
senderId: json["senderId"],
senderName: json["senderName"],
timestamp: DateTime.parse(json["timestamp"]),
topic: json["topic"],
);