2019-01-22 12:41:12 +01:00
|
|
|
targets:
|
|
|
|
$default:
|
|
|
|
builders:
|
|
|
|
json_serializable:
|
|
|
|
options:
|
|
|
|
# Options configure how source code is generated for every
|
|
|
|
# `@JsonSerializable`-annotated class in the package.
|
|
|
|
#
|
|
|
|
# The default value for each is listed.
|
|
|
|
#
|
|
|
|
# For usage information, reference the corresponding field in
|
|
|
|
# `JsonSerializableGenerator`.
|
|
|
|
# any_map: false
|
|
|
|
# checked: false
|
|
|
|
# create_factory: true
|
|
|
|
# create_to_json: true
|
|
|
|
# disallow_unrecognized_keys: false
|
|
|
|
# explicit_to_json: false
|
2019-02-21 11:51:49 +01:00
|
|
|
# field_rename: snake
|
2019-01-22 12:41:12 +01:00
|
|
|
# generate_to_json_function: true
|
|
|
|
# include_if_null: true
|
|
|
|
# nullable: true
|
|
|
|
# use_wrappers: false
|