getUserInfo method

Future<UserInfoResponse> getUserInfo()

Get information about current user, the most important of which is the list of provider integrations.

Implementation

Future<UserInfoResponse> getUserInfo() async {
  final result = await NativeSDKBridgeV3.getUserInfo(
    connectionId: connectionId,
  );

  ExceptionHandler.checkException(result);

  final object = UserInfoResponse.fromJson(result);

  return object;
}