AmbientSoundConfig.fromJson constructor

AmbientSoundConfig.fromJson(
  1. Map json_
)

Implementation

AmbientSoundConfig.fromJson(core.Map json_)
  : this(
      gcsUri: json_['gcsUri'] as core.String?,
      prebuiltAmbientNoise: json_['prebuiltAmbientNoise'] as core.String?,
      prebuiltAmbientSound: json_['prebuiltAmbientSound'] as core.String?,
      volumeGainDb: (json_['volumeGainDb'] as core.num?)?.toDouble(),
    );