copyWith method

MarkedUpTextSpan copyWith({
  1. int? offset,
  2. int? length,
})

Implementation

MarkedUpTextSpan copyWith({
  int? offset,
  int? length
}) {
  return MarkedUpTextSpan(
    offset: offset ?? this.offset,
    length: length ?? this.length
  );
}