updateBusinessWorkHours method

Future<Result<Boolean>> updateBusinessWorkHours({
  1. BusinessWorkHoursBase? businessWorkHours,
})

Update Business Work Hours.

ID: 4b00e066.

Implementation

Future<Result<Boolean>> updateBusinessWorkHours({
  BusinessWorkHoursBase? businessWorkHours,
}) async {
  // Preparing the request.
  final request = AccountUpdateBusinessWorkHours(
    businessWorkHours: businessWorkHours,
  );

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

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