DOMException constructor Null safety

DOMException(
  1. [String? message = '',
  2. String? name = 'Error']
)

Implementation

external factory DOMException([String? message = '', String? name = 'Error']);