HelpArticleCard class

Constructors

HelpArticleCard({String? category, String? excerpt, String? slug, String? title, int? updatedAt})
Returns a new HelpArticleCard instance.

Properties

category ↔ String?
Category is the name of the knowledge-base section the article sits in, or empty when it is filed under none.
getter/setter pair
excerpt ↔ String?
Excerpt is the short summary the author wrote for listings, or empty.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slug ↔ String?
Slug is the article's stable public identifier and the path segment /v1/help/articles/{slug} addresses it by.
getter/setter pair
title ↔ String?
Title is the article's headline.
getter/setter pair
updatedAt ↔ int?
UpdatedAt is the unix second the article was last written, in the help center's own store.
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) → HelpArticleCard?
Returns a new HelpArticleCard instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<HelpArticleCard>
mapFromJson(dynamic json) → Map<String, HelpArticleCard>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<HelpArticleCard>>

Constants

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