ContentLink class final

The Link Object contains a limited subset of the information associated with a story (a content entry) or a folder.

Constructors

const
ContentLink.fromJson(JSONMap json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
The numeric ID
final
isFolder bool
true if the instance constitutes a folder
final
isStartpage bool
true if the story is defined as root for the folder
final
name String
The complete name of the story or folder
final
parentID int?
ID of the parent folder
final
path String?
Value of the real path defined in the story's entry configuration
final
position int
Numeric representation of the story's position in the folder
final
published bool
true if a story has been published at least once (even if it is currently in draft)
final
realPath String
Either the full slug of the story or folder with a leading /, or, if existent, the value of the real path defined in the story's entry configuration with a leading /
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String
The full slug of the story or folder
final
uuid String
Generated UUID string
final

Methods

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

Operators

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