copyWithWrapped method

WebApiModulesPluginsQuickbooksOnlineQuickBooksOnlinePluginLogicLocation copyWithWrapped({
  1. Wrapped<String?>? locationId,
  2. Wrapped<String?>? locationName,
  3. Wrapped<String?>? lastConnected,
  4. Wrapped<String?>? expiresIn,
  5. Wrapped<bool?>? expired,
})

Implementation

WebApiModulesPluginsQuickbooksOnlineQuickBooksOnlinePluginLogicLocation
copyWithWrapped({
  Wrapped<String?>? locationId,
  Wrapped<String?>? locationName,
  Wrapped<String?>? lastConnected,
  Wrapped<String?>? expiresIn,
  Wrapped<bool?>? expired,
}) {
  return WebApiModulesPluginsQuickbooksOnlineQuickBooksOnlinePluginLogicLocation(
    locationId: (locationId != null ? locationId.value : this.locationId),
    locationName: (locationName != null
        ? locationName.value
        : this.locationName),
    lastConnected: (lastConnected != null
        ? lastConnected.value
        : this.lastConnected),
    expiresIn: (expiresIn != null ? expiresIn.value : this.expiresIn),
    expired: (expired != null ? expired.value : this.expired),
  );
}