Discussion class
- Annotations
-
- @freezed
Constructors
-
Discussion({required bool hideFromTrending, required int id, required bool pinned, required Post post, required bool subscribed, required List<
String> tags, required String title, required int topLevelCommentCount, required int viewCount}) -
constfactory
-
Discussion.fromJson(Map<
String, Object?> json) -
factory
Properties
-
copyWith
→ $DiscussionCopyWith<
Discussion> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideFromTrending → bool
-
no setterinherited
- id → int
-
no setterinherited
- pinned → bool
-
no setterinherited
- post → Post
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subscribed → bool
-
no setterinherited
-
no setterinherited
- title → String
-
no setterinherited
- topLevelCommentCount → int
-
no setterinherited
- viewCount → int
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited