magicEquals method
Checks if the value equals another value.
other: The value to compare with. Returnstrueif both values are equal, otherwisefalse.
Implementation
bool magicEquals(dynamic other) {
if (isNull) return other == null;
return this == other;
}