operator == method

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

Checks if one topic equals another topic exactly.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) {
    return true;
  }
  return other is MqttTopic && rawTopic == other.rawTopic;
}