operator [] method
Returns a reference
Note: the memory of returned VecChar is owned by this VecVecChar, explicitly call VecChar.clone if the parent VecVecChar may be disposed.
Implementation
@override
VecChar operator [](int idx) => VecChar.fromPointer(ccore.std_VecVecChar_get(ptr, idx), attach: false);