replaceWith method

void replaceWith(
  1. T item
)

Implementation

void replaceWith(T item) => replace(IList([item]));