otherOAuthPageCallBack static method

Future otherOAuthPageCallBack(
  1. FlyVerifyResultListener result
)

Implementation

static Future<dynamic> otherOAuthPageCallBack(
    FlyVerifyResultListener result) {
  Future<dynamic> callBack =
      _channel.invokeMethod(FlyVerifySDKMethods.otherOAuthPage.name);
  _channelReceiver.receiveBroadcastStream().listen((event) {
    if (event != null && event is Map) {
      result(event, null);
    } else {
      result(null, null);
    }
  });
  return callBack;
}