DeepLinkEntry constructor
Creates a deep link entry, parsing uri into queryParams and
pathFragment.
Implementation
DeepLinkEntry({required this.uri, DateTime? receivedAt, this.source})
: receivedAt = receivedAt ?? DateTime.now(),
queryParams = Uri.tryParse(uri)?.queryParameters ?? const {},
pathFragment =
Uri.tryParse(uri)?.fragment.isNotEmpty == true
? Uri.tryParse(uri)?.fragment
: null;