clear method

void clear()

Clears the list.

Implementation

void clear() => value = [];