copyWith method
Implementation
MatchedSubstring copyWith({int? length, int? offset}) {
return MatchedSubstring(
length: length ?? this.length,
offset: offset ?? this.offset,
);
}
MatchedSubstring copyWith({int? length, int? offset}) {
return MatchedSubstring(
length: length ?? this.length,
offset: offset ?? this.offset,
);
}