execute method

  1. @override
Future<(int?, int?)> execute(
  1. Map<String, String> extras,
  2. String? notificationClassResponse
)
override

Implementation

@override
Future<(int?, int?)> execute(Map<String, String> extras, String? notificationClassResponse) async {
    final result = await methodChannel.invokeMapMethod<String, dynamic>(
        'execute',
        {
            "notificationData": extras,
            "notificationClassResponse": notificationClassResponse
        }
    );
    return (result?['code'] as int?, result?['eventId'] as int?);
}