1. 6
    Define Optional Named and Positional Parameters for Functions and Methods in Dart
    1m 19s

Define Optional Named and Positional Parameters for Functions and Methods in Dart

InstructorJermaine Oppong

Share this video with your friends

Send Tweet

In this lesson, we will look at the different forms of creating parameters that are optional, namely positional and named. Optional positional arguments are useful when specifying a default value for a particular parameter. Optional named parameters are useful for specifying parameter defaults and writing self-documenting functions and methods.