copyWith method

  1. @override
RichTextPhoneNumber copyWith({
  1. RichText? text,
  2. String? phoneNumber,
})
override

Implementation

@override
RichTextPhoneNumber copyWith({
  RichText? text,
  String? phoneNumber,
}) =>
    RichTextPhoneNumber(
      text: text ?? this.text,
      phoneNumber: phoneNumber ?? this.phoneNumber,
    );