copyWith method
Implementation
UserIdentity copyWith({
String? id,
String? userId,
Map<String, dynamic>? identityData,
String? identityId,
String? provider,
String? createdAt,
String? lastSignInAt,
String? updatedAt,
}) {
return UserIdentity(
id: id ?? this.id,
userId: userId ?? this.userId,
identityData: identityData ?? this.identityData,
identityId: identityId ?? this.identityId,
provider: provider ?? this.provider,
createdAt: createdAt ?? this.createdAt,
lastSignInAt: lastSignInAt ?? this.lastSignInAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}