CreatePackageRequest constructor

CreatePackageRequest({
  1. PackageInfo? info,
  2. List<int>? contents,
})

Implementation

factory CreatePackageRequest({
  PackageInfo? info,
  $core.List<$core.int>? contents,
}) {
  final $result = create();
  if (info != null) {
    $result.info = info;
  }
  if (contents != null) {
    $result.contents = contents;
  }
  return $result;
}