prepend method

String prepend(
  1. String string
)

Prepend a string.

Implementation

String prepend(String string) {
  if (this == null) {
    throw ArgumentError('string: $this');
  }
  return string + this!;
}