copyWith method
Implementation
UserMessagingVO copyWith({
String? uid,
DocumentSnapshot? snapshot,
String? userId,
Map<String, FCMToken>? fcmTokens,
DateTime? createdAt,
DateTime? updatedAt,
}) {
return UserMessagingVO(
uid: uid ?? this.uid,
snapshot: snapshot ?? this.snapshot,
fcmTokens: fcmTokens ?? this.fcmTokens,
userId: userId ?? this.userId,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}