authorizedLocation property

Future<Location> get authorizedLocation

Implementation

static Future<Location> get authorizedLocation async {
  try {
    var locationNativeObject =
        await _channel.invokeMethod('authorizedLocation');
    return _standardSerializers.deserializeWith(
        Location.serializer, locationNativeObject)!;
  } on PlatformException catch (ex) {
    throw ReaderSdkException(ex.code, ex.message, ex.details['debugCode'],
        ex.details['debugMessage']);
  }
}