messageDeliveredStatusFromJson function
Parses JSON data to create a MessageStatusDetail object.
This function takes a JSON string and decodes it into a MessageStatusDetail object, which contains details about the delivery status of a message, including the count of participants who have received the message, the total number of participants, and a list of participant details.
Parameters:
str
- A JSON string representing the message delivery status.
Returns: A MessageStatusDetail object populated with the data from the JSON string.
Implementation
MessageStatusDetail messageDeliveredStatusFromJson(String str) =>
MessageStatusDetail.fromJson(json.decode(str));