W3cubDocs

/Dart 2

TrackDefault constructor

TrackDefault(String type, String language, String label, List<String> kinds, [ String byteStreamTrackID ])

Implementation

factory TrackDefault(
    String type, String language, String label, List<String> kinds,
    [String byteStreamTrackID]) {
  if (byteStreamTrackID != null) {
    List kinds_1 = convertDartToNative_StringArray(kinds);
    return TrackDefault._create_1(
        type, language, label, kinds_1, byteStreamTrackID);
  }
  List kinds_1 = convertDartToNative_StringArray(kinds);
  return TrackDefault._create_2(type, language, label, kinds_1);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/TrackDefault/TrackDefault.html