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