String canPlayType(String type, [ String keySystem ])

Source

String canPlayType(String type, [String keySystem]) {
  if ((type is String) && keySystem == null) {
    return _blink.BlinkHTMLMediaElement.instance
        .canPlayType_Callback_1_(this, type);
  }
  if ((type is String || type == null) && keySystem == null) {
    return _blink.BlinkHTMLMediaElement.instance
        .canPlayType_Callback_1_(this, type);
  }
  if ((keySystem is String || keySystem == null) &&
      (type is String || type == null)) {
    return _blink.BlinkHTMLMediaElement.instance
        .canPlayType_Callback_2_(this, type, keySystem);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}