ConversationReceiptsRequestModel.fromJson constructor
Implementation
factory ConversationReceiptsRequestModel.fromJson(Map<String, dynamic> json) {
return ConversationReceiptsRequestModel(
conversationKey: json['conversation_key'],
startingAt: DateTime.fromMillisecondsSinceEpoch(json['starting_at']),
updatedAfter: json['updated_after'] != null
? DateTime.fromMillisecondsSinceEpoch(json['updated_after'])
: null,
);
}