Answers for "flutter check type of object"

1

flutter check type of object

print(myvar is Person);

Type type = myvar.runtimeType;
print(myvar == Person));
Posted by: Guest on July-09-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language