Source class

Represents display or publishing preferences of user's own account. Returned as an additional entity when verifying and updated credentials, as an attribute of Account. https://docs.joinmastodon.org/entities/source/

Annotations
  • @JsonSerializable()

Constructors

Source({required String? privacy, required bool? sensitive, required Object? language, required String note, required List<Field> fields, required int followRequestsCount})
Source.fromJson(Map<String, dynamic> json)
factory

Properties

fields List<Field>
Metadata about the account
final
followRequestsCount int
The number of pending follow requests
final
hashCode int
The hash code for this object.
no setterinherited
language Object?
The default posting language for new statuses
final
note String
Profile bio
final
privacy String?
The default post privacy to be used for new statuses
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensitive bool?
Whether new statuses should be marked sensitive by default
final

Methods

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

Operators

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