Post class
- Annotations
-
- @freezed
Constructors
-
Post({String? id, String? description, List<
String> ? images, List<String> ? videos, List<String> ? videoThumbnails, List<Documents> ? documents, String? document, String? groupId, String? tabId, Group? group, Community? community, String? documentName, Poll? poll, @Default(0) int? likes, String? liveUrl, String? title, LiveMeeting? liveMeeting, @Default(0) int viewCount, @Default(false) bool isLikedByMe, @Default(false) bool isCommentedOnByMe, @Default(false) bool isByMe, @Default(false) bool isBookmarkedByMe, Actor? createdBy, List<Actor> ? latestLikes, List<String> ? tags, int? commentCount, String? createdAt}) -
constfactory
-
Post.fromJson(Map<
String, dynamic> json) -
factory
Properties
- commentCount → int?
-
no setterinherited
- community → Community?
-
no setterinherited
-
copyWith
→ $PostCopyWith<
Post> -
no setterinherited
- createdAt → String?
-
no setterinherited
- createdBy → Actor?
-
no setterinherited
- description → String?
-
no setterinherited
- document → String?
-
no setterinherited
- documentName → String?
-
no setterinherited
-
documents
→ List<
Documents> ? -
no setterinherited
- group → Group?
-
no setterinherited
- groupId → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
-
images
→ List<
String> ? -
no setterinherited
- isBookmarkedByMe → bool
-
no setterinherited
- isByMe → bool
-
no setterinherited
- isCommentedOnByMe → bool
-
no setterinherited
- isLikedByMe → bool
-
no setterinherited
-
latestLikes
→ List<
Actor> ? -
no setterinherited
- likes → int?
-
no setterinherited
- liveMeeting → LiveMeeting?
-
Child? Tweet
no setterinherited
- liveUrl → String?
-
no setterinherited
- poll → Poll?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabId → String?
-
no setterinherited
-
no setterinherited
- title → String?
-
no setterinherited
-
videos
→ List<
String> ? -
no setterinherited
-
videoThumbnails
→ List<
String> ? -
no setterinherited
- viewCount → int
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited