Answers for "how to detect the data type of a data in flutter"

0

check data type flutter

selector.runtimeType // return data type of the variable

Example:
if (selector.runtimeType == int) print("Hello")
Posted by: Guest on April-25-2021

Code answers related to "how to detect the data type of a data in flutter"

Browse Popular Code Answers by Language