SpeechSynthesisUtterance 构造函数

SpeechSynthesisUtterance(
  1. [String? text]
)

实现

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