copyWith method

  1. @override
GetStateRequest copyWith({
  1. int? paymentId,
  2. String? ip,
  3. String? signToken,
})
override

Создает экземпляр с заданными параметрами

Implementation

@override
GetStateRequest copyWith({
  int? paymentId,
  String? ip,
  String? signToken,
}) {
  return GetStateRequest(
    paymentId: paymentId ?? this.paymentId,
    ip: ip ?? this.ip,
    signToken: signToken ?? this.signToken,
  );
}