bindHost static method
void
bindHost({})
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;
}