Messages constructor

Messages({
  1. String? type,
  2. bool? isDeleted,
  3. String? createdAt,
  4. String? editedAt,
  5. int? channelSegment,
  6. String? updatedAt,
  7. int? childrenNumber,
  8. String? channelId,
  9. String? userId,
  10. String? messageId,
  11. int? flagCount,
  12. int? reactionsCount,
  13. Reactions? reactions,
  14. Data? data,
})

Implementation

Messages(
    {this.type,
    this.isDeleted,
    this.createdAt,
    this.editedAt,
    this.channelSegment,
    this.updatedAt,
    this.childrenNumber,
    this.channelId,
    this.userId,
    this.messageId,
    this.flagCount,
    this.reactionsCount,
    this.reactions,
    this.data});