copyWith method

QuickReply copyWith({
  1. String? title,
  2. String? value,
  3. String? messageText,
  4. Map<String, dynamic>? customProperties,
})

Creates a copy of this quick reply with the given fields replaced with new values

Implementation

QuickReply copyWith({
  String? title,
  String? value,
  String? messageText,
  Map<String, dynamic>? customProperties,
}) =>
    QuickReply(
      title: title ?? this.title,
      value: value ?? this.value,
      messageText: messageText ?? this.messageText,
      customProperties: customProperties ?? this.customProperties,
    );