copyWith method
Implementation
ElicitationSchema copyWith({
Object? type = _acpCopyWithAbsent,
Object? title = _acpCopyWithAbsent,
Object? properties = _acpCopyWithAbsent,
Object? requiredValue = _acpCopyWithAbsent,
Object? description = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => ElicitationSchema(
type: identical(type, _acpCopyWithAbsent)
? this.type
: type as ElicitationSchemaType?,
title: identical(title, _acpCopyWithAbsent) ? this.title : title as String?,
properties: identical(properties, _acpCopyWithAbsent)
? this.properties
: properties as Map<String, ElicitationPropertySchema>?,
requiredValue: identical(requiredValue, _acpCopyWithAbsent)
? this.requiredValue
: requiredValue as List<String>?,
description: identical(description, _acpCopyWithAbsent)
? this.description
: description as String?,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);