initWithToken static method
initializes bugbattle with apiKey
and sets the activationMethod
.
Implementation
static void initWithToken(String apiKey, ActivationMethod activationMethod) {
String activationMethodValue = getActivationMethodValue(activationMethod);
_channel.invokeMethod(
'initWithToken',
{'apiKey': apiKey, 'activationMethod': activationMethodValue},
);
}