@@ -966,41 +966,13 @@ class _Renderer_Categorization extends RendererBase<Categorization> {
966
966
self.renderSimpleVariable(c, remainingNames, 'bool'),
967
967
getBool: (CT_ c) => c.hasCategoryNames == true,
968
968
),
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
- ),
976
969
'hasSubCategoryNames': Property(
977
970
getValue: (CT_ c) => c.hasSubCategoryNames,
978
971
renderVariable: (CT_ c, Property<CT_> self,
979
972
List<String> remainingNames) =>
980
973
self.renderSimpleVariable(c, remainingNames, 'bool'),
981
974
getBool: (CT_ c) => c.hasSubCategoryNames == true,
982
975
),
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
- ),
1004
976
'subCategoryNames': Property(
1005
977
getValue: (CT_ c) => c.subCategoryNames,
1006
978
renderVariable: (CT_ c, Property<CT_> self,
0 commit comments