UserSaidEvent constructor
UserSaidEvent({})
Implementation
factory UserSaidEvent({
$core.String? text,
$core.bool? isFinal,
$core.double? confidence,
$fixnum.Int64? audioStartMs,
$fixnum.Int64? audioEndMs,
$core.String? language,
$core.int? segmentIndex,
}) {
final result = create();
if (text != null) result.text = text;
if (isFinal != null) result.isFinal = isFinal;
if (confidence != null) result.confidence = confidence;
if (audioStartMs != null) result.audioStartMs = audioStartMs;
if (audioEndMs != null) result.audioEndMs = audioEndMs;
if (language != null) result.language = language;
if (segmentIndex != null) result.segmentIndex = segmentIndex;
return result;
}