DbMetadata class
Constructors
Properties
- about ↔ String?
-
about
getter/setter pairinherited
-
banner
getter/setter pairinherited
- cleanNip05 → String?
-
clean nip05
no setterinherited
- displayName ↔ String?
-
displayName
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- lud06 ↔ String?
-
lud06
getter/setter pairinherited
- lud16 ↔ String?
-
lud16
getter/setter pairinherited
- name ↔ String?
-
name
getter/setter pairinherited
- nip05 ↔ String?
-
nip05
getter/setter pairinherited
- picture ↔ String?
-
picture
getter/setter pairinherited
- pubKey ↔ String
-
public key
getter/setter pairinherited
- refreshedTimestamp ↔ int?
-
refreshed timestamp
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
splitDisplayNameWords
→ List<
String> ? -
no setter
-
splitNameWords
→ List<
String> ? -
no setter
- updatedAt ↔ int?
-
updated at
getter/setter pairinherited
- website ↔ String?
-
website
getter/setter pairinherited
Methods
-
getName(
) → String -
return display name if set, otherwise name if set, otherwise pubKey
inherited
-
matchesSearch(
String str) → bool -
does it match while searching for given string
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEvent(
) → Nip01Event -
convert to nip01 event
inherited
-
toFullJson(
) → Map< String, dynamic> -
convert to json (full all fields)
inherited
-
toJson(
) → Map< String, dynamic> -
convert from json (except pub_key)
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMetadata(
Metadata metadata) → DbMetadata