Article class

Inheritance
Implemented types
Annotations
  • @JsonSerializable.new()

Constructors

Article({required String title, required String? description, required String? body, required EntityId? authorId, required ArticleState? state, required DateTime createdAt, required DateTime updatedAt, required String? url, required ArticleId id, required EntityId workspaceId, required List<EntityId> parentIds, EntityId? parentId, ArticleStatistics? statistics, String? defaultLocale, ArticleTranslatedContent? translations})
const
Article.fromJson(dynamic json)
factory

Properties

authorId → EntityId?
finalinherited
body → String?
finalinherited
createdAt → DateTime
finalinherited
defaultLocale → String?
final
description → String?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
id → ArticleId
final
parentId → EntityId?
final
parentIds → List<EntityId>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → ArticleState?
finalinherited
statistics → ArticleStatistics?
final
title → String
finalinherited
translations → ArticleTranslatedContent?
final
type → String
no setteroverride
updatedAt → DateTime
finalinherited
url → String?
finalinherited
workspaceId → EntityId
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited