api.dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more.
Lookup from the Set interface. Not interesting for a String set.
String? lookup(Object? value) => contains(value) ? value as String : null;