Metadata class

Metadata of a user based on kind 0.

Constructors

Metadata({String? banner, String? lud06, String? lud16, String? website, String? picture, String? display_name, String? name, String? about, String? username, String? displayName, String? nip05, int? followingCount, int? followersCount, bool? nip05valid, String? zapService})
Creates a new instance of Metadata.
Metadata.fromJson(Map<String, dynamic> json)
Creates a new Metadata object from a JSON map.
factory

Properties

about String?
A short description about the user.
getter/setter pair
The URL of the user's banner image.
getter/setter pair
display_name String?
The user's display name.
getter/setter pair
displayName String?
The user's display name.
getter/setter pair
followersCount int?
The number of users that are following the user.
getter/setter pair
followingCount int?
The number of users that the user is following.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lud06 String?
The LUD06 of the user's metadata.
getter/setter pair
lud16 String?
The LUD16 of the user's metadata.
getter/setter pair
name String?
The user's name.
getter/setter pair
nip05 String?
The NIP05 of the user's metadata.
getter/setter pair
nip05valid bool?
Whether the NIP05 of the user's metadata is valid or not.
getter/setter pair
picture String?
The URL of the user's profile picture.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String?
The user's username.
getter/setter pair
website String?
The user's website URL.
getter/setter pair
zapService String?
The user's Zap service ID.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited