ソースを参照

refactor: removed unused null check

flutter-beta
Julian Steenbakker 5年前
コミット
c0ce8e30dc
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 16E437C7A3D94250
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      lib/src/qr_code_scanner.dart

+ 1
- 1
lib/src/qr_code_scanner.dart ファイルの表示

@@ -233,7 +233,7 @@ class QRViewController {
/// Gets information about which camera is active.
Future<CameraFacing> getCameraInfo() async {
try {
var cameraFacing = await _channel.invokeMethod('getCameraInfo') as int?;
var cameraFacing = await _channel.invokeMethod('getCameraInfo') as int;
if (cameraFacing == -1) return _cameraFacing;
return CameraFacing
.values[await _channel.invokeMethod('getCameraInfo') as int];


読み込み中…
キャンセル
保存