stop method

Future<bool> stop()

Stops the Catapush native SDK.

Implementation

Future<bool> stop() {
  return _channel
      .invokeMethod<Map<Object?, Object?>>('Catapush#stop')
      .then((response) {
    return response!['result']! as bool;
  });
}