decryptZapEvent method
Implementation
@override
Future<Map<dynamic, dynamic>> decryptZapEvent(
String eventJson,
String currentUser,
String? id,
) async {
final arguments = {
"type": "decrypt_zap_event",
"uri_data": eventJson,
"current_user": currentUser,
"id": id,
};
final data = await methodChannel.invokeMethod<Map<dynamic, dynamic>>(
'nostrsigner',
arguments,
);
return data ?? {};
}