operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Tests whether two JavaScript values are strict equal, as compared by the JS === operator.

Implementation

@override
bool operator ==(Object other) =>
    identical(this, other) ||
    other is JSValue &&
        runtimeType == other.runtimeType &&
        JSValueRef.jSValueIsStrictEqual(
                context.pointer, pointer, other.pointer) ==
            1;