Skip to content

Commit

Permalink
correzione delle descrizioni
Browse files Browse the repository at this point in the history
  • Loading branch information
kekko7072 committed Mar 14, 2022
1 parent dd75261 commit 925f00d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/models/link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class Link {
print(value);
print('\n');
}
//4. Aggiungo i link alla lista
//4. Aggiungo il singolo link alla lista
list.add(Link(
//Di ogni elemento faccio il cast e metto anche un valore se value['key'] mi ritorna nullo
//Di ogni elemento faccio il cast e metto anche un valore di default se value['key'] mi ritorna nullo
id: value['id'] ?? 0,
title: value['title'] ?? '',
description: value['description'] ?? '',
Expand Down

0 comments on commit 925f00d

Please sign in to comment.