@@ -966,41 +966,13 @@ class _Renderer_Categorization extends RendererBase<Categorization> {
966966 self.renderSimpleVariable(c, remainingNames, 'bool'),
967967 getBool: (CT_ c) => c.hasCategoryNames == true,
968968 ),
969- 'hasImage': Property(
970- getValue: (CT_ c) => c.hasImage,
971- renderVariable: (CT_ c, Property<CT_> self,
972- List<String> remainingNames) =>
973- self.renderSimpleVariable(c, remainingNames, 'bool'),
974- getBool: (CT_ c) => c.hasImage == true,
975- ),
976969 'hasSubCategoryNames': Property(
977970 getValue: (CT_ c) => c.hasSubCategoryNames,
978971 renderVariable: (CT_ c, Property<CT_> self,
979972 List<String> remainingNames) =>
980973 self.renderSimpleVariable(c, remainingNames, 'bool'),
981974 getBool: (CT_ c) => c.hasSubCategoryNames == true,
982975 ),
983- 'image': Property(
984- getValue: (CT_ c) => c.image,
985- renderVariable:
986- (CT_ c, Property<CT_> self, List<String> remainingNames) {
987- if (remainingNames.isEmpty) {
988- return self.getValue(c).toString();
989- }
990- var name = remainingNames.first;
991- var nextProperty =
992- _Renderer_String.propertyMap().getValue(name);
993- return nextProperty.renderVariable(
994- self.getValue(c) as String,
995- nextProperty,
996- [...remainingNames.skip(1)]);
997- },
998- isNullValue: (CT_ c) => c.image == null,
999- renderValue: (CT_ c, RendererBase<CT_> r,
1000- List<MustachioNode> ast, StringSink sink) {
1001- _render_String(c.image!, ast, r.template, sink, parent: r);
1002- },
1003- ),
1004976 'subCategoryNames': Property(
1005977 getValue: (CT_ c) => c.subCategoryNames,
1006978 renderVariable: (CT_ c, Property<CT_> self,
0 commit comments