static String? getQueryParam(String url, String paramKey) { final Uri uri = Uri.dataFromString(url); return uri.queryParameters[paramKey]; }