I found a strange behavior in dart when using the is keyword to check for runtime types. After checking the object if it is a type of something you can call it\
is