copyWith method

RequestPermissionOutcomeSelected copyWith({
  1. Object? outcome = _acpCopyWithAbsent,
  2. Object? optionId = _acpCopyWithAbsent,
  3. Object? meta = _acpCopyWithAbsent,
})

Implementation

RequestPermissionOutcomeSelected copyWith({
  Object? outcome = _acpCopyWithAbsent,
  Object? optionId = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => RequestPermissionOutcomeSelected(
  outcome: identical(outcome, _acpCopyWithAbsent)
      ? this.outcome
      : outcome as String,
  optionId: identical(optionId, _acpCopyWithAbsent)
      ? this.optionId
      : optionId as PermissionOptionId,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);