TransitionCoverage constructor

TransitionCoverage({
  1. Iterable<TransitionCoverage_Transition>? transitions,
  2. double? coverageScore,
})

Implementation

factory TransitionCoverage({
  $core.Iterable<TransitionCoverage_Transition>? transitions,
  $core.double? coverageScore,
}) {
  final _result = create();
  if (transitions != null) {
    _result.transitions.addAll(transitions);
  }
  if (coverageScore != null) {
    _result.coverageScore = coverageScore;
  }
  return _result;
}