copyWith method

DecorationColorEntity copyWith({
  1. String? documentID,
  2. RgbEntity? color,
  3. double? stop,
})

Implementation

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