PostCommentModel class
Constructors
Properties
- appId ↔ String
-
getter/setter pairoverride
- comment ↔ String?
-
getter/setter pair
- dislikes ↔ int?
-
getter/setter pair
- documentID ↔ String
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- likes ↔ int?
-
getter/setter pair
- memberId ↔ String?
-
getter/setter pair
-
memberMedia
↔ List<
MemberMediumModel> ? -
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, String? comment, int? likes, int? dislikes, List< MemberMediumModel> ? memberMedia}) → PostCommentModel -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
{String? appId}) → PostCommentEntity -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromEntity(
String documentID, PostCommentEntity? entity) → Future< PostCommentModel?> -
fromEntityPlus(
String documentID, PostCommentEntity? entity, {String? appId}) → Future< PostCommentModel?>
Constants
- id → const String
- packageName → const String