Skip to main content

Post constructor

Post({required String sId, String? description, DateTime? createdAt, String? imageUrl, String? videoUrl, required User? creator, OrgInfo? organization, List<LikedBy>? likedBy, List<Comments>? comments})

Implementation

Post(\{
required this.sId,
this.description,
this.createdAt,
this.imageUrl,
this.videoUrl,
required this.creator,
this.organization,
this.likedBy,
this.comments,
\});