Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter check type of object

print(myvar is Person);

Type type = myvar.runtimeType;
print(myvar == Person));
Source by www.woolha.com #
 
PREVIOUS NEXT
Tagged: #flutter #check #type #object
ADD COMMENT
Topic
Name
8+9 =