Hey Coders! Whenever you run a program or script in Dart, it defaults to running that code synchronously. That means each line of code waits until the previous one has completed running before it itself executes. For the vast majority of times, this is exactly what we want to happen, but there are situations where this could considerably slow down our program. During these times, we switch over to asynchronous execution. Dart provides the Future object to make this possible. In this video, we'll overview async functions by covering Futures and the async/await keywords.
Check out the source code on GitHub:
https://github.com/davidtheweiss/Flut...
❤️ Support the ongoing growth of this channel, get exclusive perks, and receive consultation on your projects! / davidweissprogramming
🧑💻 Dart Documentation: https://dart.dev/guides
----------------------------------------------------------------------------------------------
🕒 Timestamps
0:00 Intro
0:15 What are Functions?
1:38 How to Write a Function With No Parameters
4:01 How to Write a Function With One or More Parameters/Arguments
6:30 How to Write a Function With Optional Positional Parameters
9:14 How to Write a Function With Optional Named Parameters
10:54 How to Give Default Values to Optional Parameters
12:20 Lambda Functions in Dart (aka Arrow Functions)
----------------------------------------------------------------------------------------------
Other playlists:
-------------------------------------
Flutter
-------------------------------------
Dart:
• Flutter - Season 1 | Dart
Flutter Orientation:
• Flutter - Season 0 | Orientation
-------------------------------------
Google Cloud
-------------------------------------
Compute Engine:
• Google Cloud - Season 2 | Compute Engine
App Engine:
• Google Cloud - Season 1 | App Engine
Google Cloud Orientation:
• Google Cloud - Season 0 | Orientation
-------------------------------------
Apps Script
-------------------------------------
JDBC Service:
• Apps Script - Season 16 | JDBC Service
Data Studio Service:
• Apps Script - Season 15 | Data Studio Service
Maps Service:
• Apps Script - Season 14 | Maps Service
Utilities Service:
• Apps Script - Season 13 | Utilities Service
Properties Service:
• Apps Script - Season 12 | Properties Service
URL Fetch Service:
• Apps Script - Season 11 | URL Fetch Service
Drive Service:
• Apps Script - Season 10 | Drive Service
Forms Service:
• Apps Script - Season 9 | Forms Service
Lock Service:
• Apps Script - Season 8 | Lock Service
HTML Service:
• Apps Script - Season 7 | HTML Service
Document Service:
• Apps Script - Season 6 | Document Service
Slides Service:
• Apps Script - Season 5 | Slides Service
Calendar Service:
• Apps Script - Season 4 | Calendar Service
Script Service:
• Apps Script - Season 3 | Script Service
Gmail Service:
• Apps Script - Season 2 | Gmail Service
Spreadsheet Service:
• Apps Script - Season 1 | Spreadsheet Service
Apps Script Orientation:
• Apps Script - Season 0 | Orientation
----------------------------------------------------------------------------------------------