SpeakerDiarizationConfig.fromJson constructor

SpeakerDiarizationConfig.fromJson(
  1. Map json_
)

Implementation

SpeakerDiarizationConfig.fromJson(core.Map json_)
    : this(
        enableSpeakerDiarization:
            json_.containsKey('enableSpeakerDiarization')
                ? json_['enableSpeakerDiarization'] as core.bool
                : null,
        maxSpeakerCount: json_.containsKey('maxSpeakerCount')
            ? json_['maxSpeakerCount'] as core.int
            : null,
        minSpeakerCount: json_.containsKey('minSpeakerCount')
            ? json_['minSpeakerCount'] as core.int
            : null,
        speakerTag: json_.containsKey('speakerTag')
            ? json_['speakerTag'] as core.int
            : null,
      );