copyWith method

BotMenuButton copyWith({
  1. String? text,
  2. String? url,
})

Implementation

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