recoverBTException method

Future<T?> recoverBTException()

Implementation

Future<T?> recoverBTException() async {
  try {
    return await this;
  } on PlatformException catch (e) {
    throw BTException.fromPlatform(e);
  }
}