service/searching/findSingleUnique/find_single_unique library

Functions

findSingleUnique<T>(List<T> list) → T
Returns the single unique element when all others appear exactly twice. Uses deep equality for complex types. Throws StateError if no unique element found.
main() → void