merge method
Merges this object with other, returning a new object of type T.
Implementation
@override
ColorDto merge(ColorDto? other) {
return other == null
? this
: ColorDto.raw(
value: other.value ?? value,
directives: [...directives, ...other.directives],
);
}