setEnvironment method

Future<bool> setEnvironment(
  1. int environment
)

setEnvironment sets environment for serving offers. 'environment' must be either 0 or 1. 0 - live environment. Default is set to 'live environment'. 1 - test environment. Returns a bool indicating that if setEnvironment call is successful or not. In case of error it can also throw exceptions. ///

Implementation

Future<bool> setEnvironment(int environment) async {
  throw UnimplementedError('setEnvironment() has not been implemented.');
}