Загрузка...

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
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять