Fragment constructor
Fragment({})
Implementation
factory Fragment({
$core.String? id,
$core.String? name,
$43.Struct? fragment,
$core.String? organizationOwner,
$core.bool? public,
$44.Timestamp? createdOn,
$core.String? organizationName,
$core.int? robotPartCount,
$core.int? organizationCount,
$core.bool? onlyUsedByOwner,
FragmentVisibility? visibility,
$44.Timestamp? lastUpdated,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (name != null) {
$result.name = name;
}
if (fragment != null) {
$result.fragment = fragment;
}
if (organizationOwner != null) {
$result.organizationOwner = organizationOwner;
}
if (public != null) {
$result.public = public;
}
if (createdOn != null) {
$result.createdOn = createdOn;
}
if (organizationName != null) {
$result.organizationName = organizationName;
}
if (robotPartCount != null) {
$result.robotPartCount = robotPartCount;
}
if (organizationCount != null) {
$result.organizationCount = organizationCount;
}
if (onlyUsedByOwner != null) {
$result.onlyUsedByOwner = onlyUsedByOwner;
}
if (visibility != null) {
$result.visibility = visibility;
}
if (lastUpdated != null) {
$result.lastUpdated = lastUpdated;
}
return $result;
}