copyWith method
Implementation
T copyWith({
TextStyle? style,
GestureRecognizer? recognizer,
String? semanticsLabel,
}) =>
TextSpan(
text: this.text,
children: this.children,
style: style ?? this.style,
recognizer: recognizer ?? this.recognizer,
semanticsLabel: semanticsLabel ?? this.semanticsLabel,
) as T;