SpeakerDiarizationConfig.fromJson constructor

SpeakerDiarizationConfig.fromJson(
  1. Map json_
)

Implementation

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