DiarizationSegment constructor

DiarizationSegment({
  1. Int64? startMs,
  2. Int64? endMs,
  3. int? speakerIndex,
  4. String? speakerId,
})

Implementation

factory DiarizationSegment({
  $fixnum.Int64? startMs,
  $fixnum.Int64? endMs,
  $core.int? speakerIndex,
  $core.String? speakerId,
}) {
  final result = create();
  if (startMs != null) result.startMs = startMs;
  if (endMs != null) result.endMs = endMs;
  if (speakerIndex != null) result.speakerIndex = speakerIndex;
  if (speakerId != null) result.speakerId = speakerId;
  return result;
}