init static method
Implementation
static Future<AWResponseModel<bool>> init(
String appId, String? appUserId) async {
var result = await _channel
.invokeMethod('init', {"appId": appId, "appUserId": appUserId});
final model = getResponseModel(result);
if (!model.result) {
return AWResponseModel.sendFailed(model.msg);
}
return AWResponseModel.sendSuccess(true);
}