getCustomMimeTypeForCodec static method

String? getCustomMimeTypeForCodec(
  1. String codec
)

Implementation

static String? getCustomMimeTypeForCodec(String codec) {
  for (final customMimeType in _customMimeTypes) {
    if (codec.startsWith(customMimeType.codecPrefix)) {
      return customMimeType.mimeType;
    }
  }

  return null;
}