setEnvironment method
The ID of the project environment to act in, alongside the project ID. Used with Appwrite Cloud projects that have environments.
Implementation
@override
ClientIO setEnvironment(value) {
config['environment'] = value;
addHeader('X-Appwrite-Environment', value);
return this;
}