init static method

Future<Null> init(
  1. String appKey,
  2. String accessKey
)

Initializes Mobilisten using the appKey and accessKey generated for the bundle ID/package name of an application.

Implementation

static Future<Null> init(String appKey, String accessKey) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent("appKey", () => appKey);
  args.putIfAbsent("accessKey", () => accessKey);
  await _channel.invokeMethod('init', args);
}