liveResolve method

Future<Map<String, dynamic>?> liveResolve(
  1. String shortUrl, {
  2. String? apiKey,
})

Resolve a created link via GET /sdk/resolve. Returns the resolved link body for live parity verification, or null if unreachable. This is the lenient form the importer uses: any failure degrades to null so a live import still completes.

Implementation

Future<Map<String, dynamic>?> liveResolve(
  String shortUrl, {
  String? apiKey,
}) async {
  final r = await resolve(shortUrl, apiKey: apiKey);
  return r.ok ? r.body : null;
}