equals method

bool equals(
  1. String other
)

Case equality check.

Implementation

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