SignerMethod enum
Methods that can be called on a signer
Values
- signEvent → const SignerMethod
-
const SignerMethod('sign_event') - getPublicKey → const SignerMethod
-
const SignerMethod('get_public_key') - nip04Encrypt → const SignerMethod
-
const SignerMethod('nip04_encrypt') - nip04Decrypt → const SignerMethod
-
const SignerMethod('nip04_decrypt') - nip44Encrypt → const SignerMethod
-
const SignerMethod('nip44_encrypt') - nip44Decrypt → const SignerMethod
-
const SignerMethod('nip44_decrypt') - ping → const SignerMethod
-
const SignerMethod('ping') - connect → const SignerMethod
-
const SignerMethod('connect')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - protocolString → String
-
The NIP-46 protocol string for this method
final
- 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
Constants
-
values
→ const List<
SignerMethod> - A constant List of the values in this enum, in order of their declaration.