replaceAll method

void replaceAll(
  1. List<T> value
)

Replaces all the items in the vector with the specified items.

Implementation

void replaceAll(List<T> value) {
  if (isSameType<T, int>()) return _replaceAll_int(value as List<int>);

  if (isSameType<T, String>()) {
    return _replaceAll_String(value as List<String>);
  }

  if (isSameType<T, Uri>()) {
    return _replaceAll_Uri(value as List<Uri>);
  }

  if (isSubtypeOfWinRTEnum<T>()) {
    return _replaceAll_enum(value as List<WinRTEnum>);
  }

  return _replaceAll_COMObject(value as List<IInspectable>);
}