[Solved] Null Safety equivalent of “List()”? [duplicate]
// @dart=2.12 void doSomething<T>() { List<List<T>> pages = []; print(pages.runtimeType.toString()); } void main() { doSomething<String>(); } Result JSArray<List<String>> solved Null Safety equivalent of “List()”? [duplicate]