assertNotNull method

void assertNotNull(
  1. String? message,
  2. Any? actual
)

Asserts that the specified value is not null.

  • message - the message to report if the assertion fails.

Implementation

external Unit assertNotNull(
  String? message,
  Any? actual,
);