concept optional parameter in category dart

This is an excerpt from Manning's book Dart in Action.
In addition to returning values, Dart functions take parameters as inputs. Unlike in JavaScript, you must specify all the parameter names in a function definition. In JavaScript the parameter list is optional, because all the arguments passed to a function can be accessed dynamically using an internal arguments variable. Dart is much more structured, requiring all the parameters to be defined in the function definition in a manner similar to that of Java or C#. Dart doesn’t have function (or method) overloading, but it does have optional parameters.
Functions have mandatory parameters and optional parameters. All mandatory parameters must be declared first as a comma-separated list, followed by all optional parameters, which are enclosed in a single block of square brackets. Optional parameters, if not specified, default to null: