copyWith method
Returns a copy of this cell with the given symbol
and style
.
If no arguments are provided, the current cell is returned.
Implementation
Cell copyWith({String? symbol, Style? style}) {
return Cell(
symbol ?? this.symbol,
style ?? this.style,
);
}