trimLeft method Null safety

String? trimLeft()

Returns the string without any leading whitespace.

As trim, but only removes leading whitespace.

Implementation

String? trimLeft() {
  return value?.trimLeft();
}