copyWith method
Diff
copyWith(
{ - Object? path = _acpCopyWithAbsent,
- Object? oldText = _acpCopyWithAbsent,
- Object? newText = _acpCopyWithAbsent,
- Object? meta = _acpCopyWithAbsent,
})
Implementation
Diff copyWith({
Object? path = _acpCopyWithAbsent,
Object? oldText = _acpCopyWithAbsent,
Object? newText = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => Diff(
path: identical(path, _acpCopyWithAbsent) ? this.path : path as String,
oldText: identical(oldText, _acpCopyWithAbsent)
? this.oldText
: oldText as String?,
newText: identical(newText, _acpCopyWithAbsent)
? this.newText
: newText as String,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);