length property Null safety

int length

Length of this range (i.e. number of bytes)

Implementation

int get length => end - start + 1;