MessageId.fromJson constructor

MessageId.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MessageId.fromJson(Map<String, dynamic> json) {
  return MessageId(
    fromMe: json["fromMe"] ?? false,
    remote: json["remote"] ?? "",
    id: json["id"] ?? "",
    serialized: json["_serialized"] ?? "",
  );
}