Collaboration constructor
Collaboration({})
Implementation
factory Collaboration({
$core.String? id,
$core.String? email,
$core.String? userId,
$core.String? objectId,
CollaborationType? collaborationType,
$core.bool? accepted,
$core.String? hashedCode,
CollaborationRole? role,
$1.Timestamp? sendAt,
$1.Timestamp? updatedAt,
$1.Timestamp? acceptedAt,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (email != null) {
_result.email = email;
}
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 (role != null) {
_result.role = role;
}
if (sendAt != null) {
_result.sendAt = sendAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
if (acceptedAt != null) {
_result.acceptedAt = acceptedAt;
}
return _result;
}