copyWith method
- String? personId,
- String? accessToken,
- 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);
}