copyWith method
ElicitationPropertySchemaString
copyWith({
- Object? type = _acpCopyWithAbsent,
- Object? title = _acpCopyWithAbsent,
- Object? description = _acpCopyWithAbsent,
- Object? minLength = _acpCopyWithAbsent,
- Object? maxLength = _acpCopyWithAbsent,
- Object? pattern = _acpCopyWithAbsent,
- Object? format = _acpCopyWithAbsent,
- Object? defaultValue = _acpCopyWithAbsent,
- Object? enumValue = _acpCopyWithAbsent,
- Object? oneOf = _acpCopyWithAbsent,
- Object? meta = _acpCopyWithAbsent,
Implementation
ElicitationPropertySchemaString copyWith({
Object? type = _acpCopyWithAbsent,
Object? title = _acpCopyWithAbsent,
Object? description = _acpCopyWithAbsent,
Object? minLength = _acpCopyWithAbsent,
Object? maxLength = _acpCopyWithAbsent,
Object? pattern = _acpCopyWithAbsent,
Object? format = _acpCopyWithAbsent,
Object? defaultValue = _acpCopyWithAbsent,
Object? enumValue = _acpCopyWithAbsent,
Object? oneOf = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => ElicitationPropertySchemaString(
type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
title: identical(title, _acpCopyWithAbsent) ? this.title : title as String?,
description: identical(description, _acpCopyWithAbsent)
? this.description
: description as String?,
minLength: identical(minLength, _acpCopyWithAbsent)
? this.minLength
: minLength as int?,
maxLength: identical(maxLength, _acpCopyWithAbsent)
? this.maxLength
: maxLength as int?,
pattern: identical(pattern, _acpCopyWithAbsent)
? this.pattern
: pattern as String?,
format: identical(format, _acpCopyWithAbsent)
? this.format
: format as StringFormat?,
defaultValue: identical(defaultValue, _acpCopyWithAbsent)
? this.defaultValue
: defaultValue as String?,
enumValue: identical(enumValue, _acpCopyWithAbsent)
? this.enumValue
: enumValue as List<String>?,
oneOf: identical(oneOf, _acpCopyWithAbsent)
? this.oneOf
: oneOf as List<EnumOption>?,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);