MastodonAccountSource class
Default posting settings and private information of the authenticated user.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
-
MastodonAccountSource({String? privacy, bool? sensitive, String? language, String? note, List<
MastodonField> ? fields, int? followRequestsCount, String? quotePolicy}) -
const
-
MastodonAccountSource.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
fields
→ List<
MastodonField> ? -
Profile fields (plain text format).
final
- followRequestsCount → int?
-
Number of pending follow requests.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String?
-
Default posting language (ISO 639-1 format).
final
- note → String?
-
Profile bio (plain text format).
final
- privacy → String?
-
Default posting visibility.
final
- quotePolicy → String?
-
Default quote approval policy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sensitive → bool?
-
Whether to mark posts as sensitive by default.
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