ConversationReportView constructor

const ConversationReportView({
  1. @JsonKey.new(name: 'conversation_report') required ConversationReport conversationReport,
  2. @JsonKey.new(name: 'conversation_information') required ConversationInfoView conversationInformation,
  3. @JsonKey.new(name: 'message_history') List<PrivateMessageView>? messageHistory,
  4. required Person creator,
})

Implementation

const factory ConversationReportView({
  @JsonKey(name: 'conversation_report') required ConversationReport conversationReport,
  @JsonKey(name: 'conversation_information') required ConversationInfoView conversationInformation,
  @JsonKey(name: 'message_history') List<PrivateMessageView>? messageHistory,
  required Person creator,
}) = _ConversationReportView;