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