trim method

void trim()

Trims whitespace from the start and end of the string.

Implementation

void trim() => value = value.trim();