fromFileExtension constant

Map<String, String> const fromFileExtension

Map of file extension to mime type

Implementation

static const fromFileExtension = const <String, String>{
  "html": html,
  "xhtml": xhtml,
  "js": javascript,
  "css": css,
  "dart": dart,
  "png": png,
  "jpg": jpeg,
  "jpeg": jpeg,
  "gif": gif,
  "bmp": bmp,
  "webp": webp,
  "svg": svg,
  "wav": wav,
  "mp3": mp3,
  "3gp": gp3,
  "avi": avi,
  "mov": mov,
  "mp4": mp4,
  "flv": flv,
  "webm": webm,
  "rar": rar,
  "txt": txt,
  "zip": zip,
  "tar": tar,
  "wasm": wasm,
};