MastodonProof class
Proof information returned by an identity verification provider.
Retrieved via GET /api/proofs.
Deprecated: The identity proof feature was removed in Mastodon 3.5.0. Provided for backward compatibility with older server versions.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
-
MastodonProof({required String avatar, required List<
MastodonProofSignature> signatures}) -
Creates a MastodonProof with the given fields.
const
-
MastodonProof.fromJson(Map<
String, dynamic> json) -
Creates a MastodonProof from a JSON map.
factory
Properties
- avatar → String
-
Avatar URL on the provider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signatures
→ List<
MastodonProofSignature> -
List of signature information.
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