github.com/tada-team/tdproto@v1.51.57/codegen/dart/lib_template/build.yaml (about) 1 targets: 2 $default: 3 builders: 4 json_serializable: 5 options: 6 # Options configure how source code is generated for every 7 # `@JsonSerializable`-annotated class in the package. 8 9 # If true, generated toJson methods will explicitly call toJson on nested objects. 10 explicit_to_json: true 11 12 # When true on classes with type parameters (generic types), 13 # extra "helper" parameters will be generated for fromJson and/or toJson 14 # to support serializing values of those types. 15 generic_argument_factories: true