dart check if the a variable is a list code example Example: dart check if variable is list if (myVar is List) { print("Yes"); }