How to Extend List<T> in Dart?
Advertisements How to make a custom List constructor in Dart? My attempt was to extend a List but it seems to not work. The class ‘FooList’ can’t extend ‘List’ because ‘List’ only has factory constructors (no generative constructors), and ‘FooList’ has at least one generative constructor Here is the context: typedef JsonMap = Map<String, dynamic>;… Read More How to Extend List<T> in Dart?