setHost method
Sets the host name and the host prefix. This is only relevant if you need to switch between HTTPS environments.
Implementation
void setHost(String hostPrefix, String hostName) {
_methodChannel.invokeMethod(
"setHost", {'hostPrefix': hostPrefix, 'hostName': hostName});
}