equals method

bool equals(
  1. num other
)

Case equality check.

Parameters

  • other: The value to compare

Returns

  • true if this value equals the other value
  • false otherwise

Implementation

bool equals(num other) => this == other;