CaseInsensitiveSet constructor

CaseInsensitiveSet(
  1. Iterable<String> base
)

Creates a case-insensitive Set using equalsIgnoreAsciiCase and hashIgnoreAsciiCase for comparison.

Implementation

CaseInsensitiveSet(Iterable<String> base)
    : super(
        LinkedHashSet(
          equals: equalsIgnoreAsciiCase,
          hashCode: hashIgnoreAsciiCase,
        )..addAll(base),
      );