copy method
Implementation
Credential copy({
String? accessToken,
OAuthCredential? credential,
String? id,
String? idToken,
String? name,
String? email,
String? photo,
String? refreshToken,
}) {
return Credential(
accessToken: accessToken ?? this.accessToken,
credential: credential ?? this.credential,
id: id ?? this.id,
idToken: idToken ?? this.idToken,
email: email ?? this.email,
name: name ?? this.name,
photo: photo ?? this.photo,
refreshToken: refreshToken ?? this.refreshToken,
);
}