SpeechSynthesisEventInit constructor
SpeechSynthesisEventInit({
- required SpeechSynthesisUtterance utterance,
- int? charIndex,
- int? charLength,
- double? elapsedTime,
- String? name,
Implementation
factory SpeechSynthesisEventInit(
{required SpeechSynthesisUtterance utterance,
int? charIndex,
int? charLength,
double? elapsedTime,
String? name}) =>
SpeechSynthesisEventInit._(
utterance: utterance,
charIndex: charIndex ?? 0,
charLength: charLength ?? 0,
elapsedTime: elapsedTime ?? 0,
name: name ?? '');