W3cubDocs

/Dart 2

DomError constructor

DomError(String name, [ String message ])

Implementation

factory DomError(String name, [String message]) {
  if (message != null) {
    return DomError._create_1(name, message);
  }
  return DomError._create_2(name);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/DomError/DomError.html