operator == method

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

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);
}