assertSame method

void assertSame(
  1. String? message,
  2. Any? illegal,
  3. Any? actual
)

Asserts that the specified values are the same instance.

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

Implementation

external Unit assertSame(
  String? message,
  Any? illegal,
  Any? actual,
);