AssertionError constructor Null safety

AssertionError(
  1. [Object? message]
)

Creates an assertion error with the provided message.

Implementation

AssertionError([this.message]);