toLength method

int toLength()

get characters length of String

Implementation

int toLength() => validate().length;