Collection constructor

Collection(
  1. {List<Deck> decks}
)

Método construtor

Implementation

Collection({this.decks}) {
  if (this.decks == null) {
    this.decks = [];
  }
  loadFile();
}