copyWith method

BotMenuButton copyWith({
  1. String? text,
  2. String? url,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

BotMenuButton copyWith({
  String? text,
  String? url,
  dynamic extra,
  int? clientId,
}) =>
    BotMenuButton(
      text: text ?? this.text,
      url: url ?? this.url,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );