copyWith method

StatusData copyWith({
  1. String? name,
  2. String? textColor,
  3. String? bgColor,
})

Implementation

StatusData copyWith({  String? name,
  String? textColor,
  String? bgColor,
}) => StatusData(  name: name ?? _name,
  textColor: textColor ?? _textColor,
  bgColor: bgColor ?? _bgColor,
);