copyWith method
Implementation
DecorationColorEntity copyWith({
String? documentID,
RgbEntity? color,
double? stop,
}) {
return DecorationColorEntity(
color: color ?? this.color,
stop: stop ?? this.stop,
);
}
DecorationColorEntity copyWith({
String? documentID,
RgbEntity? color,
double? stop,
}) {
return DecorationColorEntity(
color: color ?? this.color,
stop: stop ?? this.stop,
);
}