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
-
final
-
final
-
final
-
final
-
final
-
final
-
final
- content → Content?
-
final
- date → DateTime?
-
final
- dateGmt → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int?
-
final
- link → String?
-
final
- links → Links?
-
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