const_generator library Null safety

Functions

writeJsonConst(IndentingWriter out, dynamic val) → void
Writes JSON data as a Dart constant expression. Accepts null, bool, num, String, and maps and lists.