SubmissionRef class

A lazily initialized representation of a standard Reddit submission. Can be promoted to a Submission.

Inheritance
Implementers

Constructors

SubmissionRef.withID(Reddit reddit, String id)
SubmissionRef.withPath(Reddit reddit, String path)

Properties

hashCode int
The hash code for this object.
no setterinherited
infoParams Map<String, String>?
no setterinherited
infoPath String
The base request format for the current object.
no setterinherited
reddit Reddit
The current Reddit instance.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
The shortened link for the Submission.
no setter

Methods

fetch() Future
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<Submission>
Promotes this SubmissionRef into a populated Submission.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

idFromUrl(dynamic url) String
Retrieve a submission ID from a given URL.