lastIndex property

int get lastIndex

Implementation

int get lastIndex => length - 1;