MastodonField class

Profile field of a Mastodon account.

Annotations

Constructors

MastodonField({required String name, required String value, DateTime? verifiedAt})
const
MastodonField.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Label name of the field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Value of the field (may contain HTML).
final
verifiedAt DateTime?
Timestamp when link verification was performed. Non-null only if verified.
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