getEvent method
Implementation
@override
Future<Map<String, dynamic>?> getEvent(String subscriptionId) async {
final res = await _methodChannel.invokeMethod<String>(
'getEvent',
{
"subscriptionId": subscriptionId
}
);
if (res == null) throw AssertionError("received null result from platform method getEvent");
return jsonDecode(res);
}