Navaron Bracke

move dispose to the bottom

@@ -38,11 +38,6 @@ abstract class MobileScannerPlatform extends PlatformInterface { @@ -38,11 +38,6 @@ abstract class MobileScannerPlatform extends PlatformInterface {
38 throw UnimplementedError('buildCameraView() has not been implemented.'); 38 throw UnimplementedError('buildCameraView() has not been implemented.');
39 } 39 }
40 40
41 - /// Dispose of this [MobileScannerPlatform] instance.  
42 - void dispose() {  
43 - throw UnimplementedError('dispose() has not been implemented.');  
44 - }  
45 -  
46 /// Reset the zoom scale, so that the camera is fully zoomed out. 41 /// Reset the zoom scale, so that the camera is fully zoomed out.
47 Future<void> resetZoomScale() { 42 Future<void> resetZoomScale() {
48 throw UnimplementedError('resetZoomScale() has not been implemented.'); 43 throw UnimplementedError('resetZoomScale() has not been implemented.');
@@ -91,4 +86,9 @@ abstract class MobileScannerPlatform extends PlatformInterface { @@ -91,4 +86,9 @@ abstract class MobileScannerPlatform extends PlatformInterface {
91 Future<void> updateScanWindow(Rect? window) { 86 Future<void> updateScanWindow(Rect? window) {
92 throw UnimplementedError('updateScanWindow() has not been implemented.'); 87 throw UnimplementedError('updateScanWindow() has not been implemented.');
93 } 88 }
  89 +
  90 + /// Dispose of this [MobileScannerPlatform] instance.
  91 + void dispose() {
  92 + throw UnimplementedError('dispose() has not been implemented.');
  93 + }
94 } 94 }