generateAccountUrl static method
Implementation
static Future<String> generateAccountUrl(
String integrationId, Request request,
{Link? graphLink}) async {
if (graphLink == null) graphLink = GraphLinkCreator.create(request);
final req = GgenerateAccountLinkingUrl(
(b) => b..vars.integrationId = integrationId);
final res =
await Repository.mutate(graphLink, req.operation, req.vars.toJson());
return GgenerateAccountLinkingUrlData.fromJson(res.data!)!
.generateAccountLinkingUrl
.url;
}