WikiPage class
A representation of a subreddit's wiki page.
- Inheritance
-
- Object
- RedditBase
- WikiPageRef
- WikiPage
- Mixed in types
Properties
- contentHtml → String
-
The content of the page, in HTML format.
no setter
- contentMarkdown → String
-
The content of the page, in Markdown format.
no setter
- data → Map?
-
Returns the raw properties dictionary for this object.
no setterinherited
- fullname → String?
-
The fullname of a Reddit object.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The id of a Reddit object.
no setterinherited
-
infoParams
→ Map<
String, String> ? -
no setterinherited
- infoPath → String
-
The base request format for the current object.
no setterinherited
- mayRevise → bool
-
Whether this page may be revised.
no setter
- mod → WikiPageModeration
-
A helper object which allows for performing moderator actions on
this wiki page.
no setterinherited
- name → String
-
The name of the wiki page.
finalinherited
- reddit → Reddit
-
The current Reddit instance.
finalinherited
- revisionBy → Redditor
-
The Redditor who made the revision.
no setter
- revisionDate → DateTime
-
The date and time the revision was made.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
edit(
String content, {String? reason}) → Future< void> -
Edits the content of the current page.
inherited
-
fetch(
) → Future< WikiPage> -
Requests the data associated with the current object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
populate(
) → Future< WikiPage> -
Promote this WikiPageRef into a populated
WikiPage
.inherited -
refresh(
) → Future< WikiPage> -
Requests updated information from the Reddit API and updates the current
object properties.
override
-
revision(
String revision) → WikiPageRef -
Create a WikiPageRef which represents the current wiki page at the
provided revision.
inherited
-
revisions(
) → Stream< WikiEdit> -
A Stream of
WikiEdit
objects, which represent revisions made to this wiki page.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object a) → bool -
The equality operator.
inherited