This repo contains samples of how to use 3 serialization libraries in Dart:
These samples were used to compare the size of the dart2js output under a few basic different usage. The dart2js output was obtained by running pub build bin
on each sample. The details of the findings are outlined in this article: https://www.dartlang.org/articles/serialization/