identical function Null safety

bool identical(
  1. Object? a,
  2. Object? b
)

Check whether two references are to the same object.

Implementation

external bool identical(Object? a, Object? b);