len method

int len()

Returns the length of the slice.

Implementation

@pragma("vm:prefer-inline")
int len() => _end - _start;