Helpers class

Constructors

Helpers()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

now int
no setter

Static Methods

decodeBech32(String bech32String) List<String>
Decode a bech32 string into a hex string + human readable part
decodeBech32Thread(String bech32String) Future<List<String>>
encodeBech32(String hex, String hrp) String
Encode a hex string + human readable part as a bech32 string
getEventsFromTags(dynamic tag) List<String>
reads tags from a nostr event and returns a list of events
getPubkeysFromTags(dynamic tag) List<String>
reads tags from a nostr event and returns a list of pubkeys
getRandomString(int length) String
getSecureRandomHex(int length) String
getSecureRandomString(int length) String
isBlank(String? str) bool
isNotBlank(String? str) bool