schultek/dart_mappable

incorrect path in "part of" when generating into a subfolder

Opened this issue · 1 comments

I specified build_extensions as in the example https://pub.dev/documentation/dart_mappable/latest/topics/Configuration-topic.html.

In all generated classes, the path for "part of" was generated with an incorrect path.

Generated code example:

part of '..\my_class.dart';

Correct path:

part of '../my_class.dart';

How can I solve this problem? I updated the library to the latest 4.2.2 version and it didn't help. I work on Windows.

Man I though by now I fixed all the path issues on windows. Will look into it.