Album constructor
Implementation
factory Album({
$core.int? id,
$core.String? title,
$core.Iterable<Photo>? photos,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (title != null) {
_result.title = title;
}
if (photos != null) {
_result.photos.addAll(photos);
}
return _result;
}