1. DomName('DOMException.toString')
  2. DocsEditable()
String toString()

Returns the result of the JavaScript objects toString method.

Source

@DomName('DOMException.toString')
@DocsEditable()
String toString() => "${_name}: $_message";