EditableMixin mixin
Interface for classes that can be edited and deleted.
- Implemented types
- Mixin Applications
Properties
- 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
-
no setterinherited
- reddit → Reddit
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
) → Future< void> - Delete the object.
-
edit(
String body) → Future< UserContent> -
Replace the body of the object with
body
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → Future -
Requests updated information from the Reddit API and updates the current
object properties.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited