Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

check data type flutter

selector.runtimeType // return data type of the variable

Example:
if (selector.runtimeType == int) print("Hello")
Source by www.kindacode.com #
 
PREVIOUS NEXT
Tagged: #check #data #type #flutter
ADD COMMENT
Topic
Name
3+1 =