File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
bin/objectbox_model_generator/lib/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import "package:objectbox/src/modelinfo/index.dart" ;
22
33class CodeChunks {
4- static String modelInfoLoader (String allModelsJsonFilename ) => """
4+ static String modelInfoLoader () => """
55 Map<int, ModelEntity> _allOBXModelEntities = null;
66
77 void _loadOBXModelEntities() {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class EntityGenerator extends GeneratorForAnnotation<obx.Entity> {
3939 // optionally add header for loading the .g.json file
4040 var ret = "" ;
4141 if (entityHeaderDone.indexOf (inputFileId) == - 1 ) {
42- ret += CodeChunks .modelInfoLoader (ALL_MODELS_JSON );
42+ ret += CodeChunks .modelInfoLoader ();
4343 entityHeaderDone.add (inputFileId);
4444 }
4545
You can’t perform that action at this time.
0 commit comments