push method

void push(
  1. T element
)

Appends an element to the end of the Vec.

Implementation

@pragma('vm:prefer-inline')
void push(T element) => add(element);