operator == method

  1. @override
bool operator ==(
  1. Object obj
)
override
Determines whether the specified The

Implementation

@override
bool operator ==(obj) {
  StringList? other = obj is StringList ? obj : null;
  if (other != null) {
    return this.toString() == other.toString();
  } else {
    return false;
  }
}