fetch_link_data 1.0.1
fetch_link_data: ^1.0.1 copied to clipboard
Fetch all URL data such as title , description , image , video ... etc . and it's written in pure dart so you can use it any where you need ^_^
example/fetch_link_data_example.dart
import 'package:fetch_link_data/fetch_link_data.dart';
import 'package:fetch_link_data/src/models/link_data.dart';
void main(List<String> args) async {
try {
final LinkData data = await FetchLinkData.fetchLinkData(
"https://pub.dev/packages/fetch_link_data",
);
print(data.toJson());
} catch (e) {
print(e);
}
}