forked from loafle/openapi-generator-original
* [dart] Properly escape param/var names that clash with Dart types * [dart] Add tests for var/enumVar names * note: public and private are no keywords in Dart * some tests are still wrong, some are commented out * Fix typo * [dart] Improve variable name escaping * add more tests * [dart] Fix operationId naming * [dart] Fix upper case var name with leading underscore * [dart] Correctly support model prefix/suffix * [dart] Support spaces in property names * Call super for empty operationId * [dart] Fix and improve enumVar naming/generation * use same handling for all 3 generators * allow `updateEnumVarsWithExtensions` to have access to the data type * improve `x-enum-values` handling and add supprt for other enum vendor extensions * remove duplicate and outdated tests from `DartDioModelTest` * add more tests to `DartModelTest` * no longer force lowercase enums for plain dart generator (breaking) * this change also removes the trailing underscore from plain dart generator (breaking)