Organization constructor
Organization({})
Implementation
factory Organization({
$core.String? id,
$core.String? ownerId,
$core.String? organizationName,
$core.String? contactEmail,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (ownerId != null) {
_result.ownerId = ownerId;
}
if (organizationName != null) {
_result.organizationName = organizationName;
}
if (contactEmail != null) {
_result.contactEmail = contactEmail;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
return _result;
}