capacity property

int get capacity

Returns the current capacity (same as length in Dart).

Implementation

int get capacity => length();