Checks if some object in the format "Obj
Examples: expect(
bool isOfExactGenericType(Type type) { // ignore: no_runtimetype_tostring return runtimeType.toString().endsWith('<$type>'); }