close method

void close()

关闭当前验证界面

Implementation

void close() {
  try {
    _channel.invokeMethod('close');
  } catch (e) {
    String desc = flutterLog + e.toString();
    Map<String, String> error = {"code": "-2", "description": desc};
    _onError!(error);
  }
}