isHashSet method Null safety

bool isHashSet(
  1. TypeInfo typeInfo
)

Implementation

bool isHashSet(TypeInfo typeInfo) =>
    typeInfo.typeName!.indexOf('HashSet<') == 0 ||
    typeInfo.typeName!.indexOf('_HashSet<') == 0 ||
    typeInfo.typeName!.indexOf('_CompactLinkedHashSet<') == 0;