PeamanComment class

Constructors

PeamanComment({String? id, String? feedId, String? ownerId, String? secondUserId, String? secondUserName, PeamanCommentParent parent = PeamanCommentParent.feed, String? parentId, String? parentOwnerId, String? comment, int reactionsCount = 0, int repliesCount = 0, int? createdAt, int? updatedAt, bool visibility = true, Map<String, dynamic> extraData = const {}})

Properties

comment String?
final
createdAt int?
final
extraData Map<String, dynamic>
final
feedId String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
ownerId String?
final
parent PeamanCommentParent
final
parentId String?
final
parentOwnerId String?
final
reactionsCount int
final
repliesCount int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondUserId String?
final
secondUserName String?
final
updatedAt int?
final
visibility bool
final

Methods

copyWith({String? id, String? feedId, String? ownerId, String? secondUserId, String? secondUserName, PeamanCommentParent? parent, String? parentId, String? parentOwnerId, String? comment, int? reactionsCount, int? repliesCount, int? createdAt, int? updatedAt, bool? visibility, Map<String, dynamic>? extraData}) PeamanComment
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

Static Methods

fromJson(Map<String, dynamic> data) PeamanComment