MeetChatMessage.fromJson constructor
Factory constructor to create an instance from a JSON object
Implementation
factory MeetChatMessage.fromJson(Map<String, dynamic> json) {
return MeetChatMessage(
link: json['link'] ?? '', // Default empty string if null
messageId: json['messageId'] ?? '', // Default empty string if null
scheduledDateTime: json['scheduledDateTime'] ?? 0, // Default 0 if null
title: json['title'] ?? '', // Default empty string if null
);
}