-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.yaml
34 lines (34 loc) · 957 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
targets:
$default:
builders:
json_serializable:
enabled: true
generate_for:
include:
- lib/**.model.dart
- lib/**.entity.dart
- lib/**_bloc.dart
- lib/**_cubit.dart
- lib/**.usecase.dart
options:
explicit_to_json: true
include_if_null: false
#field_rename: snake
freezed|freezed:
enabled: true
generate_for:
include:
- lib/**.model.dart
- lib/**.entity.dart
- lib/**_bloc.dart
- lib/**_cubit.dart
- lib/**.usecase.dart
injectable_generator:injectable_builder:
enabled: true
generate_for:
include:
- lib/**.dart
options:
#auto_register: true
#class_name_pattern: "Service$|Repository$|ViewModel$"
#file_name_pattern: "_service$|_repository$|_view_model$"