Board constructor

Board({
  1. int? id,
  2. String? self,
  3. String? name,
  4. String? type,
  5. Map<String, dynamic>? admins,
  6. BoardLocation? location,
  7. bool? canEdit,
  8. bool? isPrivate,
  9. bool? favourite,
})

Implementation

Board(
    {this.id,
    this.self,
    this.name,
    this.type,
    this.admins,
    this.location,
    bool? canEdit,
    bool? isPrivate,
    bool? favourite})
    : canEdit = canEdit ?? false,
      isPrivate = isPrivate ?? false,
      favourite = favourite ?? false;