Field class

Represents a profile field as a name-value pair with optional verification. https://docs.joinmastodon.org/entities/field/

Annotations
  • @JsonSerializable()

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The key of a given field's key-value pai
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value associated with the name key
final
verifiedAt DateTime?
Timestamp of when the server verified a URL value for a rel="me” link
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