copyWith method
Implementation
AuthPayloadModel copyWith({
String? fullName,
String? email,
String? facebookId,
String? googleId,
String? appleId,
}) {
return AuthPayloadModel(
fullName: fullName ?? this.fullName,
facebookId: facebookId ?? this.facebookId,
googleId: googleId ?? this.googleId,
appleId: appleId ?? this.appleId,
);
}