assertNotSame<T> function

void assertNotSame<T>(
  1. T illegal,
  2. T actual, {
  3. String? message,
})

Asserts that actual is not the same instance as illegal, with an optional message.

Implementation

Unit assertNotSame<T>(
  T illegal,
  T actual, {
  String? message,
}) {
  return asserter.assertNotSame(message, illegal, actual);
}