equals method

bool equals(
  1. String? other
)

Implementation

bool equals(String? other) => toLowerCase() == other?.toLowerCase();