validateMimeTypes function

List<String> validateMimeTypes()

Validates and returns redundancy in mime additional map. It is used only for debugging purpose.

Implementation

List<String> validateMimeTypes() {
  final redundancy = <String>[];
  for (final ext in _mimeMap.keys)
    if (lookupMimeType(".$ext") != null)
      redundancy.add(ext);
  return redundancy;
}