Close scanning API.
Future<bool> get close async { final result = await _methodChannel.invokeMethod('close'); if (result is bool) { return result; } return result == 1; }