Navaron Bracke

make dispose return a Future

@@ -87,7 +87,7 @@ abstract class MobileScannerPlatform extends PlatformInterface { @@ -87,7 +87,7 @@ abstract class MobileScannerPlatform extends PlatformInterface {
87 } 87 }
88 88
89 /// Dispose of this [MobileScannerPlatform] instance. 89 /// Dispose of this [MobileScannerPlatform] instance.
90 - void dispose() { 90 + Future<void> dispose() {
91 throw UnimplementedError('dispose() has not been implemented.'); 91 throw UnimplementedError('dispose() has not been implemented.');
92 } 92 }
93 } 93 }