tryFromWikidata static method
Future<WikiDataLinksRelation?>
tryFromWikidata(
- WikiDataEntityNode from,
- WikiDataEntityNode to,
- String wikiRelationId, {
- Client? client,
Implementation
static Future<WikiDataLinksRelation?> tryFromWikidata(
WikiDataEntityNode from,
WikiDataEntityNode to,
String wikiRelationId, {
http.Client? client,
}) {
try {
return _fromWikidata(
from,
to,
wikiRelationId,
client: client,
);
} catch (e) {
return Future(() => null);
}
}