getAt method

T getAt(
  1. int index
)

Returns the item at the specified index in the vector.

Implementation

T getAt(int index) {
  if (isSameType<T, int>()) return _getAt_int(index) as T;
  if (isSameType<T, String>()) return _getAt_String(index) as T;
  if (isSameType<T, Uri>()) return _getAt_Uri(index) as T;
  if (isSubtypeOfWinRTEnum<T>()) return _enumCreator!(_getAt_int(index));
  return _creator!(_getAt_COMObject(index));
}