UrlMediaProvider constructor

UrlMediaProvider(
  1. String name,
  2. String mediaType,
  3. String url, {
  4. int? size,
  5. String? description,
})

Creates a new URL media provider with the given name, mediaType and url. Optionally specify the size in bytes and the description.

Implementation

UrlMediaProvider(String name, String mediaType, this.url,
    {int? size, String? description})
    : super(name, mediaType, size, description: description);