copyWith method

TextLine copyWith({
  1. List<TextElement>? elements,
})

Implementation

TextLine copyWith({
  List<TextElement>? elements,
}) {
  return TextLine(
    elements: elements ?? this.elements,
  );
}