messageReadStatusFromJson function

MessageStatusDetail messageReadStatusFromJson(
  1. String str
)

Parses JSON data to create a MessageStatusDetail object for message read status.

This function is similar to messageDeliveredStatusFromJson but specifically used for parsing JSON data related to the read status of a message.

Parameters: str - A JSON string representing the message read status.

Returns: A MessageStatusDetail object populated with the data from the JSON string.

Implementation

MessageStatusDetail messageReadStatusFromJson(String str) =>
    MessageStatusDetail.fromJson(json.decode(str));