ChatMessageStatusDetail.fromJson constructor
Creates a ChatMessageStatusDetail instance from a JSON map.
This factory constructor parses a JSON map and creates a ChatMessageStatusDetail instance. It is used for decoding JSON data fetched from an API or stored locally.
json
: The JSON map to parse.
Implementation
factory ChatMessageStatusDetail.fromJson(Map<String, dynamic> json) =>
ChatMessageStatusDetail(
deliveredTime: json["deliveredTime"],
messageId: json["messageId"],
seenTime: json["seenTime"],
sentTime: json["sentTime"],
);