Navaron Bracke

add a controller disposed error code

@@ -8,6 +8,9 @@ enum MobileScannerErrorCode { @@ -8,6 +8,9 @@ enum MobileScannerErrorCode {
8 /// before restarting it. 8 /// before restarting it.
9 controllerAlreadyInitialized, 9 controllerAlreadyInitialized,
10 10
  11 + /// The controller was used after being disposed.
  12 + controllerDisposed,
  13 +
11 /// The controller was used 14 /// The controller was used
12 /// while it was not yet initialized using [MobileScannerController.start]. 15 /// while it was not yet initialized using [MobileScannerController.start].
13 controllerUninitialized, 16 controllerUninitialized,