The dart generator creates api files with underscored names, but uses non-underscored names to import them which leads to problems if the file names multi-word.
JSON example: https://gist.github.com/ircecho/32f4836c38f9a316dd39630d1b9b2833
Here the file name generated is (from here):
.../lib/api/two_words_api.dart
The filename used to import the file is (from here):
part 'api/twoWords_api.dart';
two_words_api.dart is the correct filename and should be used in both instances.
The dart generator creates api files with underscored names, but uses non-underscored names to import them which leads to problems if the file names multi-word.
JSON example: https://gist.github.com/ircecho/32f4836c38f9a316dd39630d1b9b2833
Here the file name generated is (from here):
The filename used to import the file is (from here):
two_words_api.dart is the correct filename and should be used in both instances.