Sign in
dart
/
webdev
/
refs/tags/dwds-v23.1.1
/
.
/
dwds
/
lib
/
data
tree: 7d7dee1a64734b803b56de087907807cccf147ad [
path history
]
[
tgz
]
build_result.dart
build_result.g.dart
connect_request.dart
connect_request.g.dart
debug_event.dart
debug_event.g.dart
debug_info.dart
debug_info.g.dart
devtools_request.dart
devtools_request.g.dart
error_response.dart
error_response.g.dart
extension_request.dart
extension_request.g.dart
isolate_events.dart
isolate_events.g.dart
README.md
register_event.dart
register_event.g.dart
run_request.dart
run_request.g.dart
serializers.dart
serializers.g.dart
dwds/lib/data/README.md
How to generate data files:
Creating a new data file:
Create a new file for your data type in the
/data
directory with the
.dart
extension
Create an abstract class for your data type (see existing files for examples)
Add the new data type to
/data/serializers.dart
4 Run:
dart run build_runner build
from DWDS root (this will generate the
.g.dart
file)
To update an existing data file:
Make your changes
Run:
dart run build_runner clean
from DWDS root
Run:
dart run build_runner build
from DWDS root