copyWith method

FFillElement copyWith({
  1. String? color,
  2. double? opacity,
  3. double? stop,
})

Implementation

FFillElement copyWith({
  String? color,
  double? opacity,
  double? stop,
}) {
  return FFillElement(
    color: color ?? this.color,
    opacity: opacity ?? this.opacity,
    stop: stop ?? this.stop,
  );
}