RedditFlair class

A post flair a subreddit offers.

Constructors

RedditFlair({required String id, required String text, bool editable = false})
Creates a flair.
const
RedditFlair.fromJson(Map<String, dynamic> json)
Reads a flair.
factory

Properties

editable → bool
Whether the label may be replaced with your own text.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The flair id, valid only in the subreddit it came from.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The flair's label.
final

Methods

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

Operators

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