MethodChannelAmberflutter class
An implementation of AmberflutterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- AmberflutterPlatform
- MethodChannelAmberflutter
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decryptZapEvent(
String eventJson, String currentUser, String? id) → Future< Map> -
override
-
getPublicKey(
{List< Permission> ? permissions}) → Future<Map> -
override
-
isAppInstalled(
) → Future< bool> -
override
-
nip04Decrypt(
String ciphertext, String currentUser, String pubKey, String? id) → Future< Map> -
override
-
nip04Encrypt(
String plaintext, String currentUser, String pubKey, String? id) → Future< Map> -
override
-
nip44Decrypt(
String ciphertext, String currentUser, String pubKey, String? id) → Future< Map> -
override
-
nip44Encrypt(
String plaintext, String currentUser, String pubKey, String? id) → Future< Map> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signEvent(
String currentUser, String eventJson, String? id) → Future< Map> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited