MetaInfo constructor
MetaInfo({})
Create rich information link metadata.
If audios
, videos
and images
contains invalid content type
in UrlInfo.url, the returned result will not be included.
Implementation
factory MetaInfo(
{String? title,
Uri? url,
Uri? secureUrl,
String? description,
String? siteName,
List<AudioInfo> audios = const [],
List<ImageInfo> images = const [],
List<VideoInfo> videos = const []}) {
return MetaInfo._(
title,
url,
secureUrl,
description,
siteName,
List.unmodifiable(audios),
List.unmodifiable(images),
List.unmodifiable(videos));
}