APICommentBase class

Constructors

APICommentBase({required String id, bool? aiDeterminedSpam, String? anonUserId, required bool approved, String? avatarSrc, List<CommentUserBadgeInfo>? badges = const [], required String comment, required String commentHTML, String? commenterEmail, String? commenterLink, required String commenterName, required DateTime? date, String? displayLabel, String? domain, String? externalId, String? externalParentId, DateTime? expireAt, List<String> feedbackIds = const [], int? flagCount, int? fromProductId, bool? hasCode, bool? hasImages, bool? hasLinks, List<CommentUserHashTagInfo> hashTags = const [], bool? isByAdmin, bool? isByModerator, bool? isDeleted, bool? isDeletedUser, bool? isPinned, bool? isLocked, bool? isSpam, int? localDateHours, String? localDateString, required String? locale, List<CommentUserMentionInfo> mentions = const [], APICommentBaseMeta? meta, List<String>? moderationGroupIds = const [], bool? notificationSentForParent, bool? notificationSentForParentTenant, String? pageTitle, String? parentId, double? rating, bool? reviewed, required String tenantId, required String url, required String urlId, String? urlIdRaw, String? userId, required bool verified, DateTime? verifiedDate, int? votes, int? votesDown, int? votesUp})
Returns a new APICommentBase instance.

Properties

aiDeterminedSpam ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
anonUserId ↔ String?
getter/setter pair
approved ↔ bool
getter/setter pair
avatarSrc ↔ String?
getter/setter pair
badges ↔ List<CommentUserBadgeInfo>?
getter/setter pair
comment ↔ String
getter/setter pair
commenterEmail ↔ String?
getter/setter pair
getter/setter pair
commenterName ↔ String
getter/setter pair
commentHTML ↔ String
getter/setter pair
date ↔ DateTime?
getter/setter pair
displayLabel ↔ String?
getter/setter pair
domain ↔ String?
getter/setter pair
expireAt ↔ DateTime?
getter/setter pair
externalId ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
externalParentId ↔ String?
getter/setter pair
feedbackIds ↔ List<String>
getter/setter pair
flagCount ↔ int?
getter/setter pair
fromProductId ↔ int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hasCode ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
hashTags ↔ List<CommentUserHashTagInfo>
getter/setter pair
hasImages ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
id ↔ String
getter/setter pair
isByAdmin ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isByModerator ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isDeleted ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isDeletedUser ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isLocked ↔ bool?
getter/setter pair
isPinned ↔ bool?
getter/setter pair
isSpam ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
localDateHours ↔ int?
getter/setter pair
localDateString ↔ String?
getter/setter pair
locale ↔ String?
getter/setter pair
mentions ↔ List<CommentUserMentionInfo>
getter/setter pair
meta ↔ APICommentBaseMeta?
getter/setter pair
moderationGroupIds ↔ List<String>?
getter/setter pair
notificationSentForParent ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
notificationSentForParentTenant ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
pageTitle ↔ String?
getter/setter pair
parentId ↔ String?
getter/setter pair
rating ↔ double?
getter/setter pair
reviewed ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenantId ↔ String
getter/setter pair
url ↔ String
getter/setter pair
urlId ↔ String
getter/setter pair
urlIdRaw ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
userId ↔ String?
getter/setter pair
verified ↔ bool
getter/setter pair
verifiedDate ↔ DateTime?
getter/setter pair
votes ↔ int?
getter/setter pair
votesDown ↔ int?
getter/setter pair
votesUp ↔ int?
getter/setter pair

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 ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → APICommentBase?
Returns a new APICommentBase instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<APICommentBase>
mapFromJson(dynamic json) → Map<String, APICommentBase>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<APICommentBase>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.