register method Null safety

Future<bool> register(
  1. {required String androidId,
  2. required String iosId,
  3. bool? debug}
)

SDK注册初始化

androidId androidId 必填

iosId iosId 必填

Implementation

static Future<bool> register({
  required String androidId,
  required String iosId,
  bool? debug,
}) async {
  return await _channel.invokeMethod("register", {
    "androidId": androidId,
    "iosId": iosId,
    "debug": debug ?? false,
  });
}