copyWith method

SessionUpdateUsageUpdate copyWith({
  1. Object? sessionUpdate = _acpCopyWithAbsent,
  2. Object? used = _acpCopyWithAbsent,
  3. Object? size = _acpCopyWithAbsent,
  4. Object? cost = _acpCopyWithAbsent,
  5. Object? meta = _acpCopyWithAbsent,
})

Implementation

SessionUpdateUsageUpdate copyWith({
  Object? sessionUpdate = _acpCopyWithAbsent,
  Object? used = _acpCopyWithAbsent,
  Object? size = _acpCopyWithAbsent,
  Object? cost = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => SessionUpdateUsageUpdate(
  sessionUpdate: identical(sessionUpdate, _acpCopyWithAbsent)
      ? this.sessionUpdate
      : sessionUpdate as String,
  used: identical(used, _acpCopyWithAbsent) ? this.used : used as int,
  size: identical(size, _acpCopyWithAbsent) ? this.size : size as int,
  cost: identical(cost, _acpCopyWithAbsent) ? this.cost : cost as Cost?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);