In this guide, we will discuss Calling a Function in Dart Programming Language. A function must be called to execute it. This process is termed as function invocation.
Syntax
function_name()
The following example illustrates how a function can be invoked −
void main() { test(); } test() { //function definition print("function called"); }
It will produce the following output −
function called
Next Topic : Click Here
Pingback: Dart Programming - Defining a Function | Adglob Infosystem Pvt Ltd
Pingback: Dart Programming - Functions | Adglob Infosystem Pvt Ltd