Question - What is Lambda Function?
Answer -
A Lambda function is a concise mechanism to represent functions. These functions are known as Arrow functions.
Example:
void main() {
printMsg();
print(test());
}
printMsg()= >
print("hello");
int test()= 123;
// returning function