Created
February 15, 2018 19:32
-
-
Save Norbert515/f30485a6b39957847e1c26766e8d02c5 to your computer and use it in GitHub Desktop.
addBook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void _addBook(dynamic book) { | |
setState(() { | |
_items.add(new Book(book["volumeInfo"]["title"], book["volumeInfo"]["imageLinks"]["smallThumbnail"])); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment