GhostPost class
- Annotations
-
- @JsonSerializable()
Constructors
-
GhostPost({String? slug, String? id, String? uuid, String? title, String? html, String? plaintext, String? commentId, String? featureImage, bool? featured, bool? page, String? metaTitle, String? metaDescription, DateTime? createdAt, DateTime? updatedAt, DateTime? publishedAt, String? customExcerpt, String? codeinjectionHead, String? codeinjectionFoot, String? ogImage, String? ogTitle, String? ogDescription, String? twitterImage, String? twitterTitle, String? twitterDescription, String? customTemplate, String? canonicalUrl, List<
GhostAuthor> ? authors, List<GhostTag> ? tags, GhostAuthor? primaryAuthor, GhostTag? primaryTag, String? url, String? excerpt}) -
GhostPost.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
final
- canonicalUrl → String?
-
final
- codeinjectionFoot → String?
-
final
- codeinjectionHead → String?
-
final
- commentId → String?
-
final
- createdAt → DateTime?
-
final
- customExcerpt → String?
-
final
- customTemplate → String?
-
final
- excerpt → String?
-
final
- featured → bool?
-
final
- featureImage → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- html → String?
-
final
- id → String?
-
final
- metaDescription → String?
-
final
- metaTitle → String?
-
final
- ogDescription → String?
-
final
- ogImage → String?
-
final
- ogTitle → String?
-
final
- page → bool?
-
final
- plaintext → String?
-
final
- primaryAuthor → GhostAuthor?
-
final
- primaryTag → GhostTag?
-
final
- publishedAt → DateTime?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String?
-
final
-
final
- title → String?
-
final
- twitterDescription → String?
-
final
- twitterImage → String?
-
final
- twitterTitle → String?
-
final
- updatedAt → DateTime?
-
final
- url → String?
-
final
- uuid → 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited