copyWith method

  1. @override
BuildBit copyWith({
  1. BuildTree? parent,
})
override

Creates a copy with the given fields replaced with the new values.

Implementation

@override
BuildBit copyWith({BuildTree? parent}) =>
    WhitespaceBit(parent ?? this.parent, data);