Forces the Ready-To-Use UI Text Pattern scanner to close if it is currently open.
Future<Result<void>> forceCloseScanner() { return ScanbotTextPatternImpl.forceCloseScanner(); }