Julian Steenbakker

style: flutter format + linter

@@ -106,7 +106,6 @@ class MobileScannerController { @@ -106,7 +106,6 @@ class MobileScannerController {
106 /// Start barcode scanning. This will first check if the required permissions 106 /// Start barcode scanning. This will first check if the required permissions
107 /// are set. 107 /// are set.
108 Future<void> start() async { 108 Future<void> start() async {
109 -  
110 ensure('startAsync'); 109 ensure('startAsync');
111 110
112 // setAnalyzeMode(AnalyzeMode.barcode.index); 111 // setAnalyzeMode(AnalyzeMode.barcode.index);
@@ -136,8 +135,8 @@ class MobileScannerController { @@ -136,8 +135,8 @@ class MobileScannerController {
136 // Start the camera with arguments 135 // Start the camera with arguments
137 Map<String, dynamic>? startResult = {}; 136 Map<String, dynamic>? startResult = {};
138 try { 137 try {
139 - startResult = await methodChannel  
140 - .invokeMapMethod<String, dynamic>('start', arguments); 138 + startResult = await methodChannel.invokeMapMethod<String, dynamic>(
  139 + 'start', arguments);
141 } on PlatformException catch (error) { 140 } on PlatformException catch (error) {
142 debugPrint('${error.code}: ${error.message}'); 141 debugPrint('${error.code}: ${error.message}');
143 // setAnalyzeMode(AnalyzeMode.none.index); 142 // setAnalyzeMode(AnalyzeMode.none.index);
@@ -191,7 +190,8 @@ class MobileScannerController { @@ -191,7 +190,8 @@ class MobileScannerController {
191 try { 190 try {
192 await methodChannel.invokeMethod('stop'); 191 await methodChannel.invokeMethod('stop');
193 } on PlatformException catch (error) { 192 } on PlatformException catch (error) {
194 - debugPrint('${error.code}: camera is stopped! Please start before switching camera.'); 193 + debugPrint(
  194 + '${error.code}: camera is stopped! Please start before switching camera.');
195 return; 195 return;
196 } 196 }
197 facing = 197 facing =