setHost method
- String host
Adds host for the request
Example:
final stack = contentstack.Stack(apiKey, deliveryToken, environment);
stack = stack..setHost('host.contentstack.io');
Implementation
void setHost(String host) {
if (host.isNotEmpty) {
_host = host;
}
}