lookup method

  1. @override
E lookup(
  1. Object? element
)
override

Throws an UnsupportedError since there's no corresponding method for Maps.

Implementation

@override
E lookup(Object? element) =>
    throw UnsupportedError("MapKeySet doesn't support lookup().");