Перейти к содержимому

Optionals in Dart - Learn About Optional Values and Various Optional Operators in Dart

Vandad Nahavandipoor

0:00 / 0:00

Optionals in Dart - Learn About Optional Values and Various Optional Operators in Dart

11 115 просмотров · 3 года назад
Vandad Nahavandipoor
50,8 тыс. подписчиков
11 115 просмотров · 3 года назад
This video is part of the Dart Crash Course playlist on YouTube. See the entire playlist here:    • Dart Crash Course   Welcome to Dart Crash Course. Dart is a beautiful and modern programming language that can be used both for frontend and backend applications. In this course, we will focus on Dart as a programming language without blending in any other frameworks such as Flutter. In this video we will discuss what optional values are and how they are useful in creating modern Dart applications. We will learn about various operators that will help you work with optionals too. Timestamps: 00:00:00 - Intro 00:02:58 - Optionality 00:05:25 - Untyped Null Values 00:07:02 - Comparing Optionals 00:10:22 - Nullable Default Values 00:15:36 - Null-Aware Operator 00:24:28 - Nullable Collections 00:34:19 - Force Unwrapping 00:39:10 - Nullable Type Promotion 00:41:32 - Combining Null-Aware Operators 00:47:00 - Extending Optional Types 00:52:00 - Unwrapping Multiple Optionals 01:00:49 - Optional FlatMap 01:07:57 - Default Values for Optionals Join the discord group if you have any questions:   / discord   The GitHub repository for this course can be found here: https://github.com/vandadnp/youtube-c... Join my YouTube channel to support me:    / vandadnp   Also please follow me on Twitter and LinkedIn to stay up to date:   / vandadnp     / vandadnp