SubsystemUpdateInfo constructor

SubsystemUpdateInfo({
  1. String? filename,
  2. String? url,
  3. String? version,
  4. List<int>? sha256,
  5. PackageFormat? format,
})

Implementation

factory SubsystemUpdateInfo({
  $core.String? filename,
  $core.String? url,
  $core.String? version,
  $core.List<$core.int>? sha256,
  PackageFormat? format,
}) {
  final $result = create();
  if (filename != null) {
    $result.filename = filename;
  }
  if (url != null) {
    $result.url = url;
  }
  if (version != null) {
    $result.version = version;
  }
  if (sha256 != null) {
    $result.sha256 = sha256;
  }
  if (format != null) {
    $result.format = format;
  }
  return $result;
}