-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuild.yaml
More file actions
23 lines (23 loc) · 760 Bytes
/
build.yaml
File metadata and controls
23 lines (23 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# yaml-language-server: $schema=https://json-schema.org/draft-07/schema#
targets:
$default:
builders:
json_serializable:
generate_for:
- lib/cubits/*.dart
- lib/models/*.dart
options:
# Options configure how source code is generated for every
# `@JsonSerializable`-annotated class in the package.
#
# The default value for each is listed.
any_map: false
checked: false
constructor: ""
create_factory: true
create_to_json: true
disallow_unrecognized_keys: false
explicit_to_json: true # changed
field_rename: snake # changed
ignore_unannotated: false
include_if_null: true