fix: add 'factory' keyword to support breaking change in dart 2.19
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -15,7 +15,7 @@ class Promise<T> {} | @@ -15,7 +15,7 @@ class Promise<T> {} | ||
| 15 | @staticInterop | 15 | @staticInterop |
| 16 | class JsZXingBrowserMultiFormatReader { | 16 | class JsZXingBrowserMultiFormatReader { |
| 17 | /// https://github.com/zxing-js/library/blob/1e9ccb3b6b28d75b9eef866dba196d8937eb4449/src/browser/BrowserMultiFormatReader.ts#L11 | 17 | /// https://github.com/zxing-js/library/blob/1e9ccb3b6b28d75b9eef866dba196d8937eb4449/src/browser/BrowserMultiFormatReader.ts#L11 |
| 18 | - external JsZXingBrowserMultiFormatReader( | 18 | + external factory JsZXingBrowserMultiFormatReader( |
| 19 | dynamic hints, | 19 | dynamic hints, |
| 20 | int timeBetweenScansMillis, | 20 | int timeBetweenScansMillis, |
| 21 | ); | 21 | ); |
-
Please register or login to post a comment