setLicense method
Set Dynamsoft Barcode Reader License Key Apply for a 30-day FREE trial license: https://www.dynamsoft.com/customer/license/trialLicense
Implementation
Future<int> setLicense(String license) async {
int ret = await _channel.invokeMethod('setLicense', {'license': license});
return ret;
}