getVerifyToken method

Future<void> getVerifyToken(
  1. dynamic success(
    1. dynamic ststus
    ),
  2. dynamic error(
    1. dynamic ststus
    )
)

身份鉴权成功后才可调用获取Token接口

Implementation

Future<void> getVerifyToken(
    Function(dynamic ststus) success, Function(dynamic ststus) error) async {
  PhoneNumberServer().getVerifyToken(Params(
    success: allowInterop(success),
    error: allowInterop(error),
  ));
}