trimEnd property

String get trimEnd

trimEnd: removes all trailing whitespace from a string

Implementation

String get trimEnd {
  return this?.trimRight() ?? "";
}