Loading topic
final fields, and null safety. You need Dart 3 or later installed to run the code.1 min readbuild methods. You should have a sealed hierarchy like the one from the previous chapter.2 min readswitch expression over it, and object patterns such as Loaded(data: final items). It uses the LoadState<T> type from earlier in the tutorial.2 min read