unbind method

Future<void> unbind ()

Should be run in widget dispose() method to prevent errors and allow reconecting to the service when needed. It's not advised to skip this.

Implementation

static Future<void> unbind() async {
  await _checkIfBound();
  await _nativeChannel.invokeMethod("unBind");
}