authorize static method
Implementation
static Future<Location> authorize(String authCode) async {
try {
var params = <String, dynamic>{
'authCode': authCode,
};
var locationNativeObject =
await _channel.invokeMethod('authorize', params);
return _standardSerializers.deserializeWith(
Location.serializer, locationNativeObject)!;
} on PlatformException catch (ex) {
throw ReaderSdkException(ex.code, ex.message, ex.details['debugCode'],
ex.details['debugMessage']);
}
}