updateBusinessLocation method

Future<Result<Boolean>> updateBusinessLocation({
  1. InputGeoPointBase? geoPoint,
  2. String? address,
})

Update Business Location.

ID: 9e6b131a.

Implementation

Future<Result<Boolean>> updateBusinessLocation({
  InputGeoPointBase? geoPoint,
  String? address,
}) async {
  // Preparing the request.
  final request = AccountUpdateBusinessLocation(
    geoPoint: geoPoint,
    address: address,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<Boolean>();
}