MastodonList class
User-defined list.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonList({required String id, required String title, required String repliesPolicy, required bool exclusive})
-
Creates a MastodonList with the given fields.
const
-
MastodonList.fromJson(Map<
String, dynamic> json) -
Creates a MastodonList from a JSON map.
factory
Properties
- exclusive → bool
-
Whether to exclude list member posts from the home timeline.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Internal ID of the list.
final
- repliesPolicy → String
-
Reply display policy within the list (
followed/list/none).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Title of the list.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited