getSupportedFormats method
Gets supported barcode formats
Implementation
@override
Future<List<String>> getSupportedFormats() async {
try {
final result = await methodChannel.invokeMethod<List<dynamic>>(
'getSupportedFormats',
);
return result?.cast<String>() ?? [];
} on PlatformException catch (e) {
throw _handlePlatformException(e);
}
}