hankg, I never realized you could check type with switch and if-case statements, but there is some nuance there. I also never did but see why it is generally not a good idea to use the runtimeType of an object to do a similar comparison #DartLang #flutter
Dart .runtimeType Caution!