Compilation constructor

Compilation({
  1. List<int>? id,
  2. String? sdk,
  3. Iterable<String>? arguments,
  4. List<int>? programId,
  5. Program? program,
  6. CompilationResult? result,
  7. Timestamp? createdAt,
  8. List<int>? organizationId,
  9. List<int>? creatorId,
})

Implementation

factory Compilation({
  $core.List<$core.int>? id,
  $core.String? sdk,
  $core.Iterable<$core.String>? arguments,
  $core.List<$core.int>? programId,
  Program? program,
  CompilationResult? result,
  $0.Timestamp? createdAt,
  $core.List<$core.int>? organizationId,
  $core.List<$core.int>? creatorId,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (sdk != null) {
    _result.sdk = sdk;
  }
  if (arguments != null) {
    _result.arguments.addAll(arguments);
  }
  if (programId != null) {
    _result.programId = programId;
  }
  if (program != null) {
    _result.program = program;
  }
  if (result != null) {
    _result.result = result;
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (organizationId != null) {
    _result.organizationId = organizationId;
  }
  if (creatorId != null) {
    _result.creatorId = creatorId;
  }
  return _result;
}