copyWith method

CountrySpec copyWith({
  1. bool? sepa,
  2. int? chars,
  3. bool? ibanRegistry,
  4. String? bankIdentifier,
  5. RegExp? bbanRegexp,
  6. String? branchIdentifier,
  7. String? accountIdentifier,
  8. bool bbanValidationFunc(
    1. String
    )?,
})

Implementation

CountrySpec copyWith(
        {bool? sepa,
        int? chars,
        bool? ibanRegistry,
        String? bankIdentifier,
        RegExp? bbanRegexp,
        String? branchIdentifier,
        String? accountIdentifier,
        bool Function(String)? bbanValidationFunc}) =>
    CountrySpec(
        sepa: sepa ?? this.sepa,
        chars: chars ?? this.chars,
        ibanRegistry: ibanRegistry ?? this.ibanRegistry,
        bankIdentifier: bankIdentifier ?? this.bankIdentifier,
        bbanRegexp: bbanRegexp ?? this.bbanRegexp,
        branchIdentifier: branchIdentifier ?? this.branchIdentifier,
        accountIdentifier: accountIdentifier ?? this.accountIdentifier,
        bbanValidationFunc: bbanValidationFunc ?? this.bbanValidationFunc);