start static method

Future<void> start(
  1. String clientID,
  2. String clientSecret
)

Initializes Shake.

It should be called on application start. Shake won't work if method is not called.

Implementation

static Future<void> start(String clientID, String clientSecret) async {
  _channel.setMethodCallHandler(_channelMethodHandler);
  await _channel.invokeMethod('start', {
    'clientId': clientID,
    'clientSecret': clientSecret,
  });
}