prepend method

String prepend(
  1. String string
)

Prepends the given string to the start of this string.

@param string The string to prepend. @return The resulting string after prepending.

Implementation

String prepend(String string) => string + this;