copyWith method

SavePreparedKeyboardButton copyWith({
  1. int? userId,
  2. KeyboardButton? button,
})

Implementation

SavePreparedKeyboardButton copyWith({int? userId, KeyboardButton? button}) =>
    SavePreparedKeyboardButton(
      userId: userId ?? this.userId,
      button: button ?? this.button,
    );