Image for post
Image for post
Generic Types in Dart

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. …

Pedro Lemos

Software Engineer and Computer Science Student

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store