PostLikeModel class

Constructors

PostLikeModel({required String documentID, required String postId, String? postCommentId, required String memberId, DateTime? timestamp, required String appId, LikeType? likeType})

Properties

appId ↔ String
getter/setter pairoverride
documentID ↔ String
getter/setter pairoverride
hashCode → int
The hash code for this object.
no setteroverride
likeType ↔ LikeType?
getter/setter pair
memberId ↔ String
getter/setter pair
postCommentId ↔ String?
getter/setter pair
postId ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp ↔ DateTime?
getter/setter pair

Methods

collectReferences({String? appId}) → Future<List<ModelReference>>
override
copyWith({String? documentID, String? postId, String? postCommentId, String? memberId, DateTime? timestamp, String? appId, LikeType? likeType}) → PostLikeModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) → PostLikeEntity
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromEntity(String documentID, PostLikeEntity? entity) → Future<PostLikeModel?>
fromEntityPlus(String documentID, PostLikeEntity? entity, {String? appId}) → Future<PostLikeModel?>

Constants

id → const String
packageName → const String