copyWith method

  1. @override
BackgroundFillSolid copyWith({
  1. int? color,
})
override

Copy model with modified properties.

Properties:

  • color: A color of the background in the RGB24 format

Implementation

@override
BackgroundFillSolid copyWith({
  int? color,
}) =>
    BackgroundFillSolid(
      color: color ?? this.color,
    );