trimLeft function

String trimLeft(
  1. String str
)

Implementation

String trimLeft(String str) => str.replaceAll(RegExp(r'^\s+'), '');