DownloadParameters.fromJson constructor

DownloadParameters.fromJson(
  1. Map json_
)

Implementation

DownloadParameters.fromJson(core.Map json_)
    : this(
        allowGzipCompression: json_.containsKey('allowGzipCompression')
            ? json_['allowGzipCompression'] as core.bool
            : null,
        ignoreRange: json_.containsKey('ignoreRange')
            ? json_['ignoreRange'] as core.bool
            : null,
      );