operator == method
Abstract class for organizer panel in the left.
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
final listEquals = const DeepCollectionEquality().equals;
return other is ExpandableOrganizer &&
other.name == name &&
other.isExpanded == isExpanded &&
listEquals(other.folders, folders) &&
listEquals(other.widgets, widgets);
}