appendText method

SnippetString appendText(
  1. String string
)

Builder-function that appends the given string to the {@linkcode SnippetString.value value} of this snippet string.

@param string A value to append 'as given'. The string will be escaped. @returns This snippet string.

Implementation

_i3.SnippetString appendText(_i2.String string) => _i5.callMethod(
      this,
      'appendText',
      [string],
    );