Use the mime library from Dart team

As title