copyWithWrapped method

Person copyWithWrapped({
  1. Wrapped<String?>? personId,
  2. Wrapped<String?>? accessToken,
  3. Wrapped<AuthenticationConfidenceLevel?>? authenticationConfidenceLevel,
})

Implementation

Person copyWithWrapped(
    {Wrapped<String?>? personId,
    Wrapped<String?>? accessToken,
    Wrapped<AuthenticationConfidenceLevel?>? authenticationConfidenceLevel}) {
  return Person(
      personId: (personId != null ? personId.value : this.personId),
      accessToken:
          (accessToken != null ? accessToken.value : this.accessToken),
      authenticationConfidenceLevel: (authenticationConfidenceLevel != null
          ? authenticationConfidenceLevel.value
          : this.authenticationConfidenceLevel));
}