What is Dart function?

A function in Dart or in any programming language has a specific name and has a set of programming statements . The function can be called at any location of the program to run the statements it has and returns a result, or performs some operations.

Read more

What does <> mean in Dart?

This are generic type parameters. It allows specializations of classes. List is a list that can contain any value (if no type parameter is passed dynamic is used by default). List<int> is a list that only allows integer values and null `. You can add such Type parameters to your custom classes as well.

Read more