loginListen static method

dynamic loginListen({
  1. bool type = true,
  2. required Function onEvent,
  3. Function? onError,
  4. dynamic isOnlyOne = true,
})

数据监听

Implementation

static loginListen(
    {bool type = true,
    required Function onEvent,
    Function? onError,
    isOnlyOne = true}) async {
  return AliAuthPlatform.instance.loginListen(
      type: type, onEvent: onEvent, onError: onError, isOnlyOne: isOnlyOne);
}