equal<T> function Null safety

bool equal<T>(
  1. Object? first,
  2. Object? second
)

Perform JavaScript equality comparison (==) on two values.

Implementation

external bool equal<T>(Object? first, Object? second);