flattlength property

int get flattlength

returns the combined length of all elements in a nexted list

Implementation

int get flattlength => map((e) => e.length).reduce((a, b) => a + b);