copyWith method

  1. @override
AddCardRequest copyWith({
  1. String? signToken,
  2. String? customerKey,
  3. CheckType? checkType,
  4. String? ip,
  5. bool? residentState,
})
override

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

Implementation

@override
AddCardRequest copyWith({
  String? signToken,
  String? customerKey,
  CheckType? checkType,
  String? ip,
  bool? residentState,
}) {
  return AddCardRequest(
    signToken: signToken ?? this.signToken,
    customerKey: customerKey ?? this.customerKey,
    checkType: checkType ?? this.checkType,
    ip: ip ?? this.ip,
    residentState: residentState ?? this.residentState,
  );
}