Dart's immutable collections
By default collections such as lists are mutable in Dart. There are however immutable versions also available such as UnmodifiableListView, UnmodifiableMapView, and UnmodifiableSetView. Unfortunately, they are imperfect and lead to potential runtime errors. Let's have a look into that.
Check out Vince's Flutter 101 podcast: https://flutter101.dev/
UnmodifiableListView: https://api.dart.dev/stable/2.18.2/dart-collection/UnmodifiableListView-class.html
kt_dart: https://pub.dev/packages/kt_dart
#dart #flutter
Видео Dart's immutable collections канала I code you to death
Check out Vince's Flutter 101 podcast: https://flutter101.dev/
UnmodifiableListView: https://api.dart.dev/stable/2.18.2/dart-collection/UnmodifiableListView-class.html
kt_dart: https://pub.dev/packages/kt_dart
#dart #flutter
Видео Dart's immutable collections канала I code you to death
Комментарии отсутствуют
Информация о видео
31 октября 2022 г. 17:00:18
00:08:23
Другие видео канала