UrlMediaProvider constructor
const
UrlMediaProvider(})
Creates a new URL media provider with the given name
, mediaType
and url.
Optionally specify the size
in bytes and the description
.
Implementation
const UrlMediaProvider(
String name,
String mediaType,
this.url, {
int? size,
String? description,
}) : super(name, mediaType, size, description: description);