expandedLength property

int get expandedLength

Returns the expanded length (the sum of the lengths of all elements).

Implementation

int get expandedLength => map((e) => e.length).sum;