url static method
Implementation
static Future<File?> url(
String url, {
required Factory riveFactory,
Map<String, String>? headers,
AssetLoaderCallback? assetLoader,
}) async {
final res = await http.get(Uri.parse(url), headers: headers);
return decode(
res.bodyBytes,
riveFactory: riveFactory,
assetLoader: assetLoader,
);
}