chatMessageStatusDetailFromJson function

ChatMessageStatusDetail chatMessageStatusDetailFromJson(
  1. String str
)

Converts a JSON string into a ChatMessageStatusDetail object.

This function decodes the given JSON string and uses the fromJson constructor of the ChatMessageStatusDetail class to create an instance.

Parameters: str - A JSON string representation of a ChatMessageStatusDetail object.

Returns: An instance of ChatMessageStatusDetail populated with data from the given JSON string.

Implementation

ChatMessageStatusDetail chatMessageStatusDetailFromJson(String str) =>
    ChatMessageStatusDetail.fromJson(json.decode(str));