AssertionError constructor

AssertionError(
  1. [Object? message]
)

Creates an assertion error with the provided message.

Implementation

AssertionError([this.message]);