copyWith method

  1. @override
InternalLinkTypeMessageDraft copyWith({
  1. FormattedText? text,
  2. bool? containsLink,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
InternalLinkTypeMessageDraft copyWith({
  FormattedText? text,
  bool? containsLink,
  dynamic extra,
  int? clientId,
}) => InternalLinkTypeMessageDraft(
  text: text ?? this.text,
  containsLink: containsLink ?? this.containsLink,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);