Photo constructor

Photo({
  1. int? albumId,
  2. int? id,
  3. String? title,
  4. String? url,
})

Implementation

factory Photo({
  $core.int? albumId,
  $core.int? id,
  $core.String? title,
  $core.String? url,
}) {
  final _result = create();
  if (albumId != null) {
    _result.albumId = albumId;
  }
  if (id != null) {
    _result.id = id;
  }
  if (title != null) {
    _result.title = title;
  }
  if (url != null) {
    _result.url = url;
  }
  return _result;
}