updateService method

  1. @override
Future<bool> updateService(
  1. NotificationPayload payload
)
override

Implementation

@override
Future<bool> updateService(NotificationPayload payload) async {
  if (await isServiceRunning == true) {
    return await methodChannel.invokeMethod(
      'updateService',
      payload.toJson(),
    );
  }
  return false;
}