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