ForumCommentResponse class

Inheritance

Constructors

ForumCommentResponse.from({required int statusCode, required String reasonPhrase, required Map<String, String> headers, required int id, required String title, required String category, required String message, required String markdownMessage, required String translationId, required String translation, required String translationLanguage, required String ttsUrl, required String canonicalUrl, required int likes, required int votes, required List<Comment> comments, required List<Topic> parentsTopics, required Topic rootTopic, required Topic topic, required List<DictionaryPath> dictionaryPaths, required User user, required bool isUserUpvoted, required bool isUserDownvoted, required bool isAdmin, required bool deleted})
Returns the new instance of ForumCommentResponse based on arguments.

Properties

canonicalUrl String
The canonical url
final
category String
The category
final
comments List<Comment>
The comments
final
deleted bool
The flag that represents this comment is deleted or not
final
dictionaryPaths List<DictionaryPath>
The dictionary paths
final
hashCode int
The hash code for this object.
no setteroverride
headers Map<String, String>
The http headers
finalinherited
id int
The id
final
isAdmin bool
The flag that represents user is admin or not
final
isUserDownvoted bool
The flag that represents user is downvoted or not
final
isUserUpvoted bool
The flag that represents user is upvoted or not
final
likes int
The number of likes
final
markdownMessage String
The markdown message
final
message String
The message
final
parentsTopics List<Topic>
The parents topics
final
rootTopic Topic
The root topic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status
The http status
finalinherited
title String
The title
final
topic Topic
The topic
final
translation String
The translation
final
translationId String
The translation id
final
translationLanguage String
The translation language
final
ttsUrl String
The TTS url
final
user User
The user
final
votes int
The number of votes
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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