copyWithWrapped method

LinkTokenCreateRequestAuth copyWithWrapped({
  1. Wrapped<bool?>? authTypeSelectEnabled,
  2. Wrapped<bool?>? automatedMicrodepositsEnabled,
  3. Wrapped<bool?>? instantMatchEnabled,
  4. Wrapped<bool?>? sameDayMicrodepositsEnabled,
  5. Wrapped<LinkTokenCreateRequestAuthFlowType?>? flowType,
})

Implementation

LinkTokenCreateRequestAuth copyWithWrapped(
    {Wrapped<bool?>? authTypeSelectEnabled,
    Wrapped<bool?>? automatedMicrodepositsEnabled,
    Wrapped<bool?>? instantMatchEnabled,
    Wrapped<bool?>? sameDayMicrodepositsEnabled,
    Wrapped<enums.LinkTokenCreateRequestAuthFlowType?>? flowType}) {
  return LinkTokenCreateRequestAuth(
      authTypeSelectEnabled: (authTypeSelectEnabled != null
          ? authTypeSelectEnabled.value
          : this.authTypeSelectEnabled),
      automatedMicrodepositsEnabled: (automatedMicrodepositsEnabled != null
          ? automatedMicrodepositsEnabled.value
          : this.automatedMicrodepositsEnabled),
      instantMatchEnabled: (instantMatchEnabled != null
          ? instantMatchEnabled.value
          : this.instantMatchEnabled),
      sameDayMicrodepositsEnabled: (sameDayMicrodepositsEnabled != null
          ? sameDayMicrodepositsEnabled.value
          : this.sameDayMicrodepositsEnabled),
      flowType: (flowType != null ? flowType.value : this.flowType));
}