equals method

bool equals(
  1. T? value
)

Checks for equality between the current T and the method value

Implementation

bool equals(T? value) => this == value;