MmPost constructor

MmPost({
  1. String? id,
  2. int? createAt,
  3. int? updateAt,
  4. int? deleteAt,
  5. int? editAt,
  6. String? userId,
  7. String? channelId,
  8. String? rootId,
  9. String? originalId,
  10. String? message,
  11. String? type,
  12. Map? props,
  13. String? hashtag,
  14. List<String> fileIds = const [],
  15. String? pendingPostId,
  16. MmPostMetadata? metadata,
})

Returns a new MmPost instance.

Implementation

MmPost({
  this.id,
  this.createAt,
  this.updateAt,
  this.deleteAt,
  this.editAt,
  this.userId,
  this.channelId,
  this.rootId,
  this.originalId,
  this.message,
  this.type,
  this.props,
  this.hashtag,
  this.fileIds = const [],
  this.pendingPostId,
  this.metadata,
});