trim method

String? trim()

Returns the string without any leading and trailing whitespace.

Implementation

String? trim() => value?.trim();