copyWith method

Person copyWith({
  1. String? personId,
  2. String? accessToken,
  3. AuthenticationConfidenceLevel? authenticationConfidenceLevel,
})

Implementation

Person copyWith(
    {String? personId,
    String? accessToken,
    AuthenticationConfidenceLevel? authenticationConfidenceLevel}) {
  return Person(
      personId: personId ?? this.personId,
      accessToken: accessToken ?? this.accessToken,
      authenticationConfidenceLevel: authenticationConfidenceLevel ??
          this.authenticationConfidenceLevel);
}