indexOf method
Retrieves the index of a specified item in the vector.
Does not work for Uri
value
s.
Implementation
bool indexOf(T value, Pointer<Uint32> index) {
if (isSameType<T, int>()) return _indexOf_int(value as int, index);
if (isSameType<T, String>()) return _indexOf_String(value as String, index);
if (isSameType<T, Uri>()) return _indexOf_Uri(value as Uri, index);
if (isSubtypeOfWinRTEnum<T>()) {
return _indexOf_enum(value as WinRTEnum, index);
}
return _indexOf_COMObject(value, index);
}