DataSyncPackage constructor

DataSyncPackage({
  1. DataSyncPackageType? packageType,
  2. DataSyncFileDescriptorList? fileDescriptors,
})

Implementation

factory DataSyncPackage({
  DataSyncPackageType? packageType,
  DataSyncFileDescriptorList? fileDescriptors,
}) {
  final $result = create();
  if (packageType != null) {
    $result.packageType = packageType;
  }
  if (fileDescriptors != null) {
    $result.fileDescriptors = fileDescriptors;
  }
  return $result;
}