> tanslating dart to nim so that nim only could be used
I don't think so. How do you transpile a class-based, object-oriented language to one that's not? Implementing a Dart backend for Nim would be more realistic, as a Nim object type could be mapped to a Dart class.