Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Julian Steenbakker
2022-05-23 19:20:22 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b423a53a4240590c308220393dc0387fc5116006
b423a53a
1 parent
853a6561
bug: fixed return type analyzeImage
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
lib/src/mobile_scanner_controller.dart
lib/src/mobile_scanner_controller.dart
View file @
b423a53
...
...
@@ -260,7 +260,9 @@ class MobileScannerController {
///
/// [path] The path of the image on the devices
Future
<
bool
>
analyzeImage
(
String
path
)
async
{
return
methodChannel
.
invokeMethod
(
'analyzeImage'
,
path
)
as
Future
<
bool
>;
return
methodChannel
.
invokeMethod
<
bool
>(
'analyzeImage'
,
path
)
.
then
<
bool
>((
bool
?
value
)
=>
value
??
false
);
}
/// Disposes the MobileScannerController and closes all listeners.
...
...
Please
register
or
login
to post a comment