configure static method
Implementation
static Future<void> configure(String projectKey, [bool enableSurveys = true]) async {
try {
Map<String, Object> args = <String, Object>{};
args.putIfAbsent("projectKey", () => projectKey);
args.putIfAbsent("enableSurveys", () => enableSurveys);
await methodchannel.invokeMethod('configure', args);
}catch(err){
throw Exception("error occured : ${err.toString()}");
}
}