bindHost static method

void bindHost({
  1. required String name,
  2. required String debugPyPath,
  3. required String releasePath,
  4. String? debugExePath,
})

bind new python host

debugPyPath the path of the python file debugExePath the path of the exe file in debug mode releasePath the relative path of the exe file in release mode

Implementation

static void bindHost(
    {required String name,
    required String debugPyPath,
    required String releasePath,
    String? debugExePath}) {
  _Host host = _Host(
      debugPyPath: debugPyPath,
      releasePath: releasePath,
      debugExePath: debugExePath);
  _hosts[name] = host;
}