Constant expression depends on itself. Dart circular dependency – Flutter
I am developing a tool that generates dart code and I am facing this runtime error when executing a program having a circular dependency. file.dart:xx:xx: Error: Constant evaluation error: this.b = const B(),, ^ file:xx:xx: Context: Constant expression depends on…