Map<String, dynamic> toJson() => <String, dynamic>{ "barcodeValue": barcodeValue, "title": (title != null ? title! : null), "image": (image != null ? image! : null), "count": count, };