MastodonCredentialAccountUpdateRequest class
Parameters for a profile update request.
Corresponds to the request body for PATCH /api/v1/accounts/update_credentials.
Constructors
-
MastodonCredentialAccountUpdateRequest({String? displayName, String? note, String? avatar, String? header, bool? locked, bool? bot, bool? discoverable, bool? hideCollections, bool? indexable, List<
MastodonFieldAttribute> ? fieldsAttributes, String? sourcePrivacy, bool? sourceSensitive, String? sourceLanguage, String? sourceQuotePolicy, List<String> ? attributionDomains}) -
Creates parameters for a profile update request.
const
Properties
-
attributionDomains
→ List<
String> ? -
List of attribution domains.
final
- avatar → String?
-
Avatar image (Base64-encoded data URI).
final
- bot → bool?
-
Whether this is a bot account.
final
- discoverable → bool?
-
Whether to opt in to discovery features.
final
- displayName → String?
-
Display name.
final
-
fieldsAttributes
→ List<
MastodonFieldAttribute> ? -
List of custom profile fields.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → String?
-
Header image (Base64-encoded data URI).
final
- hideCollections → bool?
-
Whether to hide the follow/followers lists.
final
- indexable → bool?
-
Whether to allow search engine indexing.
final
- locked → bool?
-
Whether to require follow approval.
final
- note → String?
-
Profile bio.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceLanguage → String?
-
Default posting language (ISO 639-1 format).
final
- sourcePrivacy → String?
-
Default posting visibility (
public/unlisted/private/direct).final - sourceQuotePolicy → String?
-
Default quote approval policy (
public/followers/nobody).final - sourceSensitive → 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> - Returns a JSON map for the request body.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited