dart get type of variable code example Example: how to find the type of object in dart var x = [32,4424]; print(x.runtimeType); O/P:- JSArray<int>