https://github.com/passsy/immutability_in_dart
https://github.com/passsy/immutability_in_dart
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/passsy/immutability_in_dart
- Owner: passsy
- Created: 2020-06-26T05:43:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-26T05:44:04.000Z (about 5 years ago)
- Last Synced: 2024-12-19T03:33:14.093Z (7 months ago)
- Language: Dart
- Size: 78.1 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Immutability in Dart
Pascal Welsch - Google Developer Expert for Flutter/Dart
https://pascalwelsch.comTwitter|Github: @passsy
## Agenda
- [x] What's an immutable object?
- [x] Makes debugging easy
- [x] Generate boilerplate
- [IntelliJ](https://github.com/andrasferenczi/dart-data-plugin)
- [VScode](https://github.com/bnxm/Dart-Data-Class-Generator)
- [x] Immutable collections (kt_dart, built_collection,...)
- [x] Easier data classes with @freezed
- [x] Talk to other systems -> messages are immutable
- [x] Breaking a part of your app noone has touched in months
- [x] Prevent bug using immutable datatypes
- [x] Freezed union types, deep copy, customQuestions? Ask me on Twitter: @passsy