instanceOfString function
LogoDart

instanceOfString#

bool instanceOfString(Object? element, String objectType)

Like instanceof only takes a String for the object name instead of a constructor object.