AmberflutterPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • AmberflutterPlatform
Implementers

Constructors

AmberflutterPlatform()
Constructs a AmberflutterPlatform.

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

decryptZapEvent(String eventJson, String currentUser, String? id) → Future<Map>
getPublicKey({List<Permission>? permissions}) → Future<Map>
isAppInstalled() → Future<bool>
nip04Decrypt(String ciphertext, String currentUser, String pubKey, String? id) → Future<Map>
nip04Encrypt(String plaintext, String currentUser, String pubKey, String? id) → Future<Map>
nip44Decrypt(String ciphertext, String currentUser, String pubKey, String? id) → Future<Map>
nip44Encrypt(String plaintext, String currentUser, String pubKey, String? id) → Future<Map>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signEvent(String currentUser, String eventJson, String? id) → Future<Map>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ AmberflutterPlatform
The default instance of AmberflutterPlatform to use.
getter/setter pair