ExplicitDecodingConfig.fromJson constructor

ExplicitDecodingConfig.fromJson(
  1. Map json_
)

Implementation

ExplicitDecodingConfig.fromJson(core.Map json_)
    : this(
        audioChannelCount: json_.containsKey('audioChannelCount')
            ? json_['audioChannelCount'] as core.int
            : null,
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
        sampleRateHertz: json_.containsKey('sampleRateHertz')
            ? json_['sampleRateHertz'] as core.int
            : null,
      );