copyWith method
Implementation
PermissionOption copyWith({
Object? optionId = _acpCopyWithAbsent,
Object? name = _acpCopyWithAbsent,
Object? kind = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => PermissionOption(
optionId: identical(optionId, _acpCopyWithAbsent)
? this.optionId
: optionId as PermissionOptionId,
name: identical(name, _acpCopyWithAbsent) ? this.name : name as String,
kind: identical(kind, _acpCopyWithAbsent)
? this.kind
: kind as PermissionOptionKind,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);