copyWith method

ExtraInfo copyWith({
  1. String? bin,
  2. int? year,
  3. int? month,
  4. String? brand,
  5. String? holderName,
  6. String? displayNumber,
})

Implementation

ExtraInfo copyWith({
  String? bin,
  int? year,
  int? month,
  String? brand,
  String? holderName,
  String? displayNumber,
}) =>
    ExtraInfo(
      bin: bin ?? this.bin,
      year: year ?? this.year,
      month: month ?? this.month,
      brand: brand ?? this.brand,
      holderName: holderName ?? this.holderName,
      displayNumber: displayNumber ?? this.displayNumber,
    );