...

/

Calling a Function

Calling a Function

Let’s study function invocation in Dart.

A simple function call

When you want to use a function, it needs to be invoked by being called upon. You call a user-defined function the same way you call a built-in function; by calling its name followed by the input in (). Let’s call the newPrint function and sum function we ...