copyWith method
Создает экземпляр с заданными параметрами
Implementation
@override
ResendRequest copyWith({
String? signToken,
String? paymentId,
String? notificationTypes,
}) {
return ResendRequest(
signToken: signToken ?? this.signToken,
paymentId: paymentId ?? this.paymentId,
notificationTypes: notificationTypes ?? this.notificationTypes,
);
}