WordTimestamp constructor

WordTimestamp({
  1. String? word,
  2. Int64? startMs,
  3. Int64? endMs,
  4. double? confidence,
  5. String? speakerId,
})

Implementation

factory WordTimestamp({
  $core.String? word,
  $fixnum.Int64? startMs,
  $fixnum.Int64? endMs,
  $core.double? confidence,
  $core.String? speakerId,
}) {
  final result = create();
  if (word != null) result.word = word;
  if (startMs != null) result.startMs = startMs;
  if (endMs != null) result.endMs = endMs;
  if (confidence != null) result.confidence = confidence;
  if (speakerId != null) result.speakerId = speakerId;
  return result;
}