Tag constructor

Tag({
  1. String? id,
  2. String? projectId,
  3. String? name,
  4. Iterable<String>? translationIds,
  5. Timestamp? created,
  6. Timestamp? updated,
})

Implementation

factory Tag({
  $core.String? id,
  $core.String? projectId,
  $core.String? name,
  $core.Iterable<$core.String>? translationIds,
  $3.Timestamp? created,
  $3.Timestamp? updated,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (projectId != null) result.projectId = projectId;
  if (name != null) result.name = name;
  if (translationIds != null) result.translationIds.addAll(translationIds);
  if (created != null) result.created = created;
  if (updated != null) result.updated = updated;
  return result;
}