DiscussionNode class

Annotations
  • @freezed

Constructors

DiscussionNode({required int commentCount, required String id, required Comment lastComment, required bool pinned, required Post post, required List<Tag> tags, required String title, required int viewCount})
const
factory
DiscussionNode.fromJson(Map<String, Object?> json)
factory

Properties

commentCount int
no setterinherited
copyWith → $DiscussionNodeCopyWith<DiscussionNode>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
lastComment Comment
no setterinherited
pinned bool
no setterinherited
post Post
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<Tag>
no setterinherited
title String
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