ResponseMessage constructor

ResponseMessage(
  1. MessageType type,
  2. DateTime timestamp, {
  3. String? responseType,
  4. List? payload,
  5. String? text,
  6. Map<String, dynamic>? haivaMessage,
  7. Map<String, dynamic>? wholeResponsePayload,
  8. String? sessionId,
  9. Widget? customWidget,
  10. String? threadId,
  11. List<String>? responseTypesAgent,
  12. Map<String, dynamic>? customComponent,
  13. int? statusCode,
})

Implementation

ResponseMessage(
    this.type,
    this.timestamp,  {
      this.responseType,
      this.payload,
      this.text,
      this.haivaMessage,
      this.wholeResponsePayload,
      this.sessionId,
      this.customWidget,
      this.threadId,
      this.responseTypesAgent, Map<String, dynamic>? customComponent,  this.statusCode,
    });