operator == method

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

Memory-efficient equality check for duplicate prevention

Implementation

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