operator + method

  1. @override
String operator +(
  1. String other
)
inherited

Creates a new string by concatenating this string with other.

Example:

const string = 'dart' + 'lang'; // 'dartlang'

Implementation

@override
String operator +(String other) => _str + other;