loginVk method

Future<Either<BaseException, String>> loginVk()

Implementation

Future<Either<BaseException, String>> loginVk() async {
  final errorOrUrl = await _authProvider.getAuthUrlVk();

  errorOrUrl.fold(
    (error) {},
    (url) => LaunchUrlUtils.launchExternal(url),
  );

  return errorOrUrl;
}