operator == method

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

Equality is based on string.

Implementation

@override
bool operator ==(Object that) => toString() == that.toString();