Resource constructor

Resource({
  1. required String url,
})

Implementation

Resource(
    {
    /// The URL of the resource.
    required String url})
    : _wrapped = $js.Resource(url: url);