validate method

dynamic validate()

Implementation

validate() {
  var valid = true;

  for (var i = 0; i < tracks.length; i++) {
    valid = valid && tracks[i].validate();
  }

  return valid;
}