copyWithWrapped method

LoanIdentifier copyWithWrapped({
  1. Wrapped<String?>? loanIdentifier,
  2. Wrapped<LoanIdentifierType?>? loanIdentifierType,
})

Implementation

LoanIdentifier copyWithWrapped(
    {Wrapped<String?>? loanIdentifier,
    Wrapped<enums.LoanIdentifierType?>? loanIdentifierType}) {
  return LoanIdentifier(
      loanIdentifier: (loanIdentifier != null
          ? loanIdentifier.value
          : this.loanIdentifier),
      loanIdentifierType: (loanIdentifierType != null
          ? loanIdentifierType.value
          : this.loanIdentifierType));
}