copyWith method

SuggestedActionCustom copyWith({
  1. String? name,
  2. FormattedText? title,
  3. FormattedText? description,
  4. String? url,
})

Implementation

SuggestedActionCustom copyWith({
  String? name,
  FormattedText? title,
  FormattedText? description,
  String? url,
}) =>
    SuggestedActionCustom(
      name: name ?? this.name,
      title: title ?? this.title,
      description: description ?? this.description,
      url: url ?? this.url,
    );