copyWith method

  1. @override
GetBindingsByCardOrIdRequest copyWith({
  1. String? pan,
  2. String? bindingId,
  3. bool? showExpired,
})

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

Implementation

@override
GetBindingsByCardOrIdRequest copyWith({
  String? pan,
  String? bindingId,
  bool? showExpired,
}) {
  return GetBindingsByCardOrIdRequest(
    pan: pan ?? this.pan,
    bindingId: bindingId ?? this.bindingId,
    showExpired: showExpired ?? this.showExpired,
  );
}