PostCommentEntity class

Constructors

PostCommentEntity({String? postId, String? postCommentId, String? memberId, Object? timestamp, required String? appId, String? comment, int? likes, int? dislikes, List<MemberMediumEntity>? memberMedia})

Properties

appId String?
final
comment String?
final
dislikes int?
final
hashCode int
The hash code for this object.
no setterinherited
likes int?
final
memberId String?
final
memberMedia List<MemberMediumEntity>?
final
postCommentId String?
final
postId String?
final
props List<Object?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp Object?
final

Methods

copyWith({String? documentID, String? postId, String? postCommentId, String? memberId, Object? timestamp, String? appId, String? comment, int? likes, int? dislikes, List<MemberMediumEntity>? memberMedia}) PostCommentEntity
enrichedDocument(Map<String, Object?> theDocument) Future<Map<String, Object?>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
switchAppId({required String newAppId}) PostCommentEntity
override
toDocument() Map<String, Object?>
override
toJsonString() String
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJsonString(String json, {Map<String, String>? newDocumentIds}) PostCommentEntity?
fromMap(Object? o, {Map<String, String>? newDocumentIds}) PostCommentEntity?