...

/

Challenge: Serializing JSON Using json_serializable

Challenge: Serializing JSON Using json_serializable

Challenge yourself to use code generation libraries.

Goal

This challenge aims to help you understand how code generation works using the json_serializable library to generate JSON serialization boilerplate. You will learn to use the official documentation of the packages.

Specs

When you run your app and navigate to “Realtime Transactions,” a list of transactions streams in, except this time, you are fetching serialized data:

Press + to interact
Serialization challenge app specs
Serialization challenge app specs

Starter code

Before you begin the challenge, look at the starter code below and run ...