const_generator library

Functions

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