init static method
初始化 appKey: “管理员模式 > 渠道管理 > 手机APP”页面的关联的“AppKey” tenantId: “管理员模式 > 设置 > 企业信息”页面的“租户ID”
Implementation
static void init(String appKey, String tenantId) {
_channel.invokeMethod("init", <String, dynamic>{
"appKey": appKey,
"tenantId": tenantId,
});
}