copyWith method
EnumOption
copyWith(
{ - Object? constValue = _acpCopyWithAbsent,
- Object? title = _acpCopyWithAbsent,
- Object? description = _acpCopyWithAbsent,
- Object? meta = _acpCopyWithAbsent,
})
Implementation
EnumOption copyWith({
Object? constValue = _acpCopyWithAbsent,
Object? title = _acpCopyWithAbsent,
Object? description = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => EnumOption(
constValue: identical(constValue, _acpCopyWithAbsent)
? this.constValue
: constValue as String,
title: identical(title, _acpCopyWithAbsent) ? this.title : title as String,
description: identical(description, _acpCopyWithAbsent)
? this.description
: description as String?,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);