startService method

  1. @override
Future<int> startService(
  1. int eventId,
  2. String? notificationClassResponse
)
override

Implementation

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