toJson method
Converts a ChatMessageStatusDetail instance to a JSON map.
This method serializes the ChatMessageStatusDetail instance into a JSON map, making it easy to encode the chat message status details into a JSON string for storage or transmission.
Returns a JSON map representation of the ChatMessageStatusDetail.
Implementation
Map<String, dynamic> toJson() => {
"deliveredTime": deliveredTime,
"messageId": messageId,
"seenTime": seenTime,
"sentTime": sentTime,
};