Dart is an incredible and flexible language. If you are coming from strongly typed and static languages like Java and C#, or from dynamic and weakly typed languages like JavaScript and Python, you’ll notice that Dart can behave almost like you are familiar to. It’s really amazing, and some features and concepts can be shared across multiple languages. Today, we’ll discuss a little about Generics, one of the most powerful tools in Java and C#.
If you make use of GetIt, Flutter Modular, GetX, or even a List of a certain data type, you already used Generics in Dart. …
Software Engineer and Computer Science Student