Page class

Constructors

Page({String? date, String? dateGmt, String? guid, int? id, String? link, String? modified, String? modifitedGmt, String? slug, String? status, String? type, String? password, String? permalinkTemplate, String? generatedSlug, int? parent, String? title, String? content, int? author, String? excerpt, int? featuredMedia, String? commentStatus, String? pingStatus, int? menuOrder, dynamic meta, String? template})
Page.fromJson(String source)
factory
Page.fromMap(Map<String, dynamic> map)
factory

Properties

author int?
The ID for the author of the object.
final
commentStatus String?
Whether or not comments are open on the object.
final
content String?
The content for the object.
final
date String?
The date the object was published, in the site's timezone.
final
dateGmt String?
The date the object was published, as GMT.
final
excerpt String?
The excerpt for the object.
final
featuredMedia int?
The ID of the featured media for the object.
final
generatedSlug String?
Slug automatically generated from the object title.
final
guid String?
The globally unique identifier for the object.
final
hashCode int
The hash code for this object.
no setteroverride
id int?
Unique identifier for the object.
final
URL to the object.
final
The order of the object in relation to other object of its type.
final
meta → dynamic
Meta fields.
final
modified String?
The date the object was last modified, in the site's timezone.
final
modifitedGmt String?
The date the object was last modified, as GMT.
final
parent int?
The ID for the parent of the object.
final
password String?
A password to protect access to the content and excerpt.
final
permalinkTemplate String?
Permalink template for the object.
final
pingStatus String?
Whether or not the object can be pinged.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String?
An alphanumeric identifier for the object unique to its type.
final
status String?
A named status for the object.
final
template String?
The theme file to use to display the object.
final
title String?
The title for the object.
final
type String?
Type of Post for the object.
final

Methods

copyWith({String? date, String? dateGmt, String? guid, int? id, String? link, String? modified, String? modifitedGmt, String? slug, String? status, String? type, String? password, String? permalinkTemplate, String? generatedSlug, int? parent, String? title, String? content, int? author, String? excerpt, int? featuredMedia, String? commentStatus, String? pingStatus, int? menuOrder, dynamic meta, String? template}) Page
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override