MastodonPreviewCardAuthor class
Author information for a preview card (Mastodon 4.3.0+).
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonPreviewCardAuthor({required String name, String? url, String? account})
-
const
-
MastodonPreviewCardAuthor.fromJson(Map<
String, dynamic> json) -
factory
Properties
- account → String?
-
Fediverse account URI of the author.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name of the author.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
Profile URL of the author.
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