Comment class

Constructors

Comment({int? id, int? author, String? authorEmail, String? authorIp, String? authorName, String? authorUrl, String? authorUserAgent, String? content, String? date, String? dateGmt, String? link, int? parent, int? post, String? status, String? type, Map<String, dynamic>? authorAvatarUrls, dynamic meta})
Comment.fromJson(String source)
factory
Comment.fromMap(Map<String, dynamic> map)
factory

Properties

author int?
The ID of the user object, if author was a user.
final
authorAvatarUrls Map<String, dynamic>?
Avatar URLs for the object author.
final
authorEmail String?
Email address for the object author.
final
authorIp String?
IP address for the object author.
final
authorName String?
Display name for the object author.
final
authorUrl String?
URL for the object author.
final
authorUserAgent String?
User agent for the object author.
final
content String?
The content for the object.
final
date String?
The date the object was published, in the site's timezone.
final
dateGmt String?
The date the object was published, as GMT.
final
hashCode int
The hash code for this object.
no setteroverride
id int?
Unique identifier for the object.
final
URL to the object.
final
meta → dynamic
Meta fields.
final
parent int?
The ID for the parent of the object.
final
post int?
The ID of the associated post object.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
State of the object.
final
type String?
Type of Comment for the object.
final

Methods

copyWith({int? id, int? author, String? authorEmail, String? authorIp, String? authorName, String? authorUrl, String? authorUserAgent, String? content, String? date, String? dateGmt, String? link, int? parent, int? post, String? status, String? type, Map<String, dynamic>? authorAvatarUrls, dynamic meta}) Comment
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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