copyWith method

OnOverflowTruncate copyWith({
  1. Option<Expr>? filler,
  2. bool? withCount,
})

Returns a new instance by overriding the values passed as arguments

Implementation

OnOverflowTruncate copyWith({
  Option<Expr>? filler,
  bool? withCount,
}) =>
    OnOverflowTruncate(
        filler: filler != null ? filler.value : this.filler,
        withCount: withCount ?? this.withCount);