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
-
The ID of the user object, if author was a user.
final
-
Avatar URLs for the object author.
final
-
Email address for the object author.
final
-
IP address for the object author.
final
-
Display name for the object author.
final
-
URL for the object author.
final
-
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
- link → String?
-
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