magicEquals method

bool magicEquals(
  1. dynamic other
)

Checks if the value equals another value.

  • other: The value to compare with. Returns true if both values are equal, otherwise false.

Implementation

bool magicEquals(dynamic other) {
  if (isNull) return other == null;
  return this == other;
}