copyWith method
Implementation
Comment copyWith({
dynamic? clientMeta,
DateTime? createdAt,
String? fileKey,
String? id,
String? orderId,
String? parentId,
DateTime? resolvedAt,
User? user,
}) {
return Comment(
clientMeta: clientMeta ?? this.clientMeta,
createdAt: createdAt ?? this.createdAt,
fileKey: fileKey ?? this.fileKey,
id: id ?? this.id,
orderId: orderId ?? this.orderId,
parentId: parentId ?? this.parentId,
resolvedAt: resolvedAt ?? this.resolvedAt,
user: user ?? this.user,
);
}