HelpArticle class
Constructors
- HelpArticle({String? body, String? category, String? excerpt, String? slug, String? title, int? updatedAt})
- Returns a new HelpArticle instance.
Properties
- body ↔ String?
-
Body is the article's rich-text content as the author saved it.
getter/setter pair
- 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 — the path segment it was addressed 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.
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) → HelpArticle? -
Returns a new HelpArticle instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< HelpArticle> -
mapFromJson(
dynamic json) → Map< String, HelpArticle> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< HelpArticle> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.