Collaboration constructor
Collaboration({})
Implementation
factory Collaboration({
$core.String? id,
$core.String? userId,
$core.String? objectId,
CollaborationType? collaborationType,
$core.bool? accepted,
$core.String? hashedCode,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (userId != null) {
_result.userId = userId;
}
if (objectId != null) {
_result.objectId = objectId;
}
if (collaborationType != null) {
_result.collaborationType = collaborationType;
}
if (accepted != null) {
_result.accepted = accepted;
}
if (hashedCode != null) {
_result.hashedCode = hashedCode;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
return _result;
}