Post class

Constructors

Post.new({required int postID, required String content, required String postDate, required String postDateCountdown, required String sharedDevice, required int likesCount, required bool isLikeme, required int commentsCount, required bool iscommentMe, required User owner, required List<Media> media, VideoplayerWidgetBundle? mediaController, required List<Comment>? firstthreecomment, List<Comment>? comments, required List<Like>? firstthreelike, List<Like>? likers, required String? location})
Post.fromJson(Map<String, dynamic> json)
factory

Properties

comments List<Comment>?
getter/setter pair
commentsCount int
getter/setter pair
content String
getter/setter pair
firstthreecomment List<Comment>?
getter/setter pair
firstthreelike List<Like>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iscommentMe bool
getter/setter pair
isLikeme bool
getter/setter pair
likers List<Like>?
getter/setter pair
likesCount int
getter/setter pair
location String?
getter/setter pair
media List<Media>
getter/setter pair
mediaController VideoplayerWidgetBundle?
getter/setter pair
owner User
getter/setter pair
postDate String
getter/setter pair
postDateCountdown String
getter/setter pair
postID int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedDevice String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited