SpeechSynthesisErrorEventInit constructor

SpeechSynthesisErrorEventInit({
  1. SpeechSynthesisErrorCode? error,
  2. num? charIndex,
  3. num? charLength,
  4. num? elapsedTime,
  5. String? name,
  6. SpeechSynthesisUtterance? utterance,
})

Implementation

factory SpeechSynthesisErrorEventInit({
  _i3.SpeechSynthesisErrorCode? error,
  _i2.num? charIndex,
  _i2.num? charLength,
  _i2.num? elapsedTime,
  _i2.String? name,
  _i3.SpeechSynthesisUtterance? utterance,
}) =>
    SpeechSynthesisErrorEventInit._(
      error: error?.name ?? _i6.undefined,
      charIndex: charIndex,
      charLength: charLength,
      elapsedTime: elapsedTime,
      name: name,
      utterance: utterance ?? _i6.undefined,
    );