execute method

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

Implementation

@override
Future<int> execute(Map<String, String> extras, String? notificationClassResponse) async {
    final int result = await methodChannel.invokeMethod<int>(
        'execute',
        {
            "notificationData": extras,
            "notificationClassResponse": notificationClassResponse
        }
    ) ?? -90;
    return result;
}