copyWith method
ContentProperty
copyWith({
- String? id,
- String? key,
- dynamic value,
- ContentPropertyVersion? version,
- GenericLinks? links,
- ContentPropertyExpandable? expandable,
Implementation
ContentProperty copyWith(
{String? id,
String? key,
dynamic value,
ContentPropertyVersion? version,
GenericLinks? links,
ContentPropertyExpandable? expandable}) {
return ContentProperty(
id: id ?? this.id,
key: key ?? this.key,
value: value ?? this.value,
version: version ?? this.version,
links: links ?? this.links,
expandable: expandable ?? this.expandable,
);
}