Page class final
- Available Extensions
- Annotations
-
- @immutable
Constructors
-
Page({required int id, required String slug, required ContentStatus status, required int author, required Status commentStatus, required Status pingStatus, required String template, required int parent, required dynamic meta, required Map<
String, dynamic> self, DateTime? date, DateTime? dateGmt, Content? guid, DateTime? modified, DateTime? modifiedGmt, String? type, String? link, Content? title, Content? content, int? featuredMedia, Links? links}) -
const
-
Page.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
final
- commentStatus → Status
-
final
- content → Content?
-
final
- date → DateTime?
-
final
- dateGmt → DateTime?
-
final
- featuredMedia → int?
-
final
- guid → Content?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
final
- link → String?
-
final
- links → Links?
-
final
-
final
- meta → dynamic
-
final
- modified → DateTime?
-
final
- modifiedGmt → DateTime?
-
final
- parent → int
-
final
- pingStatus → Status
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
self
→ Map<
String, dynamic> -
Represents the entire JSON body as a Map.
final
- slug → String
-
final
- status → ContentStatus
-
final
- template → String
-
final
- title → Content?
-
final
- type → String?
-
final
Methods
-
copyWith(
{int? id, DateTime? date, DateTime? dateGmt, Content? guid, DateTime? modified, DateTime? modifiedGmt, String? slug, ContentStatus? status, String? type, String? link, Content? title, Content? content, int? author, int? featuredMedia, Status? commentStatus, Status? pingStatus, String? template, int? parent, dynamic meta, Links? links, Map< String, dynamic> ? self}) → Page -
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 ==(
covariant Page other) → bool -
The equality operator.
override