contains method

bool contains(
  1. Object? e$1
)
override

Whether value is in the set.

final characters = <String>{'A', 'B', 'C'};
final containsB = characters.contains('B'); // true
final containsD = characters.contains('D'); // false

Implementation

dc.bool contains(dc.Object? e$1, ){
final lcoc_core.PersistentHashMap<E, E> o7778$1=hm;
final dc.dynamic k7779$1=e$1;
if((o7778$1 is lcoc_core.ILookup$iface)){
return ((o7778$1 as lcoc_core.ILookup$iface).$_contains_key$QMARK_$1(k7779$1, ));
}
return ((lcoc_core.ILookup.extensions(o7778$1, ) as lcoc_core.ILookup$ext).$_contains_key$QMARK_$1(o7778$1, k7779$1, ));
}