toString method

  1. @override
String toString ()

Returns a string representation of this object.

Implementation

@override
String toString() {
  var first = true;
  final sb = StringBuffer()..write(name);
  if (params != null) {
    sb.write('(');
    params.forEach((MixinArgs m) {
      if (!first) sb.write(', ');
      sb.write(m.toString());
      first = false;
    });
    sb.write(')');
  }
  return sb.toString();
}