copyWith method
KeyboardButtonTypeRequestUser
copyWith({
- int? id,
- bool? restrictUserIsBot,
- bool? userIsBot,
- bool? restrictUserIsPremium,
- bool? userIsPremium,
override
Implementation
@override
KeyboardButtonTypeRequestUser copyWith({
int? id,
bool? restrictUserIsBot,
bool? userIsBot,
bool? restrictUserIsPremium,
bool? userIsPremium,
}) =>
KeyboardButtonTypeRequestUser(
id: id ?? this.id,
restrictUserIsBot: restrictUserIsBot ?? this.restrictUserIsBot,
userIsBot: userIsBot ?? this.userIsBot,
restrictUserIsPremium:
restrictUserIsPremium ?? this.restrictUserIsPremium,
userIsPremium: userIsPremium ?? this.userIsPremium,
);