Organization constructor
Organization({})
Implementation
factory Organization({
$core.String? id,
$core.String? name,
$core.String? ownerUserId,
$3.Timestamp? createdAt,
$3.Timestamp? updatedAt,
SubscriptionType? subscriptionType,
$core.String? logo,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (name != null) {
_result.name = name;
}
if (ownerUserId != null) {
_result.ownerUserId = ownerUserId;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
if (subscriptionType != null) {
_result.subscriptionType = subscriptionType;
}
if (logo != null) {
_result.logo = logo;
}
return _result;
}