size method

int size()

get the size of the stack.

Implementation

int size() => _list.length;