init method

Future<Void> init(
  1. String appKey,
  2. String secret,
  3. [String channel,
  4. int deviceType]
)

Implementation

static Future<Void> init(String appKey, String secret,
    [String channel, int deviceType]) async {
  return await _channel.invokeMethod('init', {
    "appKey": appKey,
    "secret": secret,
    "channel": channel,
    "deviceType": deviceType
  });
}