messageStatusDetailFromJson function
Parses JSON data to create a MessageStatusDetail object.
This function is a generic parser for JSON data related to message status, capable of handling various types of message status information.
Parameters:
str
- A JSON string representing the message status.
Returns: A MessageStatusDetail object populated with the data from the JSON string.
Implementation
MessageStatusDetail messageStatusDetailFromJson(String str) =>
MessageStatusDetail.fromJson(json.decode(str));