copyWith method

LoanIdentifier copyWith({
  1. String? loanIdentifier,
  2. LoanIdentifierType? loanIdentifierType,
})

Implementation

LoanIdentifier copyWith(
    {String? loanIdentifier, enums.LoanIdentifierType? loanIdentifierType}) {
  return LoanIdentifier(
      loanIdentifier: loanIdentifier ?? this.loanIdentifier,
      loanIdentifierType: loanIdentifierType ?? this.loanIdentifierType);
}