copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
KeyboardButtonTypeRequestManagedBot copyWith({
int? id,
String? suggestedName,
String? suggestedUsername,
}) => KeyboardButtonTypeRequestManagedBot(
id: id ?? this.id,
suggestedName: suggestedName ?? this.suggestedName,
suggestedUsername: suggestedUsername ?? this.suggestedUsername,
);