Dart objects have runtimeType property which returns Type . To check whether the object has a certain type, use == operator . Unlike is , it will only return true if compared to an exectly same type, which means comparing it with its super class will return false .
Read moreHow do you define type in darts?
Typedef in Dart
Read moreHow do you define type in darts?
Typedef in Dart
Read more