copyWith method

Task copyWith({
  1. int? fontStyle,
  2. String? fontColor,
})

Implementation

Task copyWith({
  int? fontStyle,
  String? fontColor,
}) =>
    Task(
      fontStyle: fontStyle ?? this.fontStyle,
      fontColor: fontColor ?? this.fontColor,
    );