SpeechSynthesisUtterance constructor

SpeechSynthesisUtterance(
  1. [String? text]
)

Implementation

factory SpeechSynthesisUtterance([String? text]) {
  if (text != null) {
    return SpeechSynthesisUtterance._create_1(text);
  }
  return SpeechSynthesisUtterance._create_2();
}