Author constructor

Author({
  1. int id = 0,
  2. String name = "无名之辈",
})

Implementation

Author({this.id = 0, this.name = "无名之辈", String logo = ""}) {
  if (logo != "") {
    this.logo = logo;
  }
}