PostModel constructor

PostModel({
  1. required String documentID,
  2. required String authorId,
  3. DateTime? timestamp,
  4. required String appId,
  5. String? feedId,
  6. String? postAppId,
  7. String? postPageId,
  8. Map<String, dynamic>? pageParameters,
  9. String? html,
  10. String? description,
  11. int? likes,
  12. int? dislikes,
  13. PostAccessibleByGroup? accessibleByGroup,
  14. List<String>? accessibleByMembers,
  15. List<String>? readAccess,
  16. PostArchiveStatus? archived,
  17. String? externalLink,
  18. List<MemberMediumContainerModel>? memberMedia,
})

Implementation

PostModel({
  required this.documentID,
  required this.authorId,
  this.timestamp,
  required this.appId,
  this.feedId,
  this.postAppId,
  this.postPageId,
  this.pageParameters,
  this.html,
  this.description,
  this.likes,
  this.dislikes,
  this.accessibleByGroup,
  this.accessibleByMembers,
  this.readAccess,
  this.archived,
  this.externalLink,
  this.memberMedia,
});