TtsClient constructor

TtsClient({
  1. required String id,
  2. required TtsClientSource source,
})

Implementation

TtsClient({
  /// Client making a language management request. For an extension, this is
  /// the unique extension ID. For Chrome features, this is the human-readable
  /// name of the feature.
  required String id,

  /// Type of requestor.
  required TtsClientSource source,
}) : _wrapped = $js.TtsClient(
        id: id,
        source: source.toJS,
      );