Comment class

Available Extensions
Annotations
  • @immutable

Constructors

Comment({required Map<String, dynamic> self, int? id, int? post, int? parent, int? author, String? authorName, String? authorUrl, DateTime? date, String? authorEmail, String? authorIp, String? authorUserAgent, DateTime? dateGmt, Content? content, String? link, CommentStatus? status, String? type, Map<String, String>? authorAvatarUrls, dynamic meta, Links? links})
const
Comment.fromJson(Map<String, dynamic> json)
factory

Properties

author int?
final
authorAvatarUrls Map<String, String>?
final
authorEmail String?
final
authorIp String?
final
authorName String?
final
authorUrl String?
final
authorUserAgent String?
final
content → Content?
final
date DateTime?
final
dateGmt DateTime?
final
hashCode int
The hash code for this object.
no setteroverride
id int?
final
final
final
meta → dynamic
final
parent int?
final
post int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self Map<String, dynamic>
Represents the entire JSON body as a Map.
final
status CommentStatus?
final
type String?
final

Methods

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

Operators

operator ==(covariant Comment other) bool
The equality operator.
override