stopService static method

Future<String?> stopService()

stops service immediatly

Implementation

static Future<String?> stopService() =>
    channel.invokeMethod<String?>(_STOP_SERVICE);