getInitialLink method
Attempts to retrieve the dynamic link which launched the app.
This method always returns a Future. That Future completes to null if there is no pending dynamic link or any call to this method after the the first attempt.
Implementation
Future<PendingDynamicLinkData> getInitialLink() async {
final Map<String, dynamic> linkData =
await channel.invokeMapMethod<String, dynamic>(
'FirebaseDynamicLinks#getInitialLink');
return getPendingDynamicLinkDataFromMap(linkData);
}