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