targets: $default: builders: json_serializable: options: # Specifies a string to add to the top of every generated file. # # If not specified, the default is the value of `defaultFileHeader` # defined in `package:source_gen/source_gen.dart`. # # Note: use `|` to define a multi-line block. header: | // Copyright (c) 2018, Comunes Association. // GENERATED CODE - DO NOT MODIFY BY HAND # Options configure how source code is generated for every # `@JsonSerializable`-annotated class in the package. # # The default value for each of them: `false`. # # For usage information, reference the corresponding field in # `JsonSerializableGenerator`. use_wrappers: true any_map: true checked: true explicit_to_json: true generate_to_json_function: true