copyWith method
Implementation
KeyboardButton copyWith({
String? text,
KeyboardButtonType? type,
}) => KeyboardButton(
text: text ?? this.text,
type: type ?? this.type,
);
KeyboardButton copyWith({
String? text,
KeyboardButtonType? type,
}) => KeyboardButton(
text: text ?? this.text,
type: type ?? this.type,
);