Audio.fromJson constructor

Audio.fromJson(
  1. Map json_
)

Implementation

Audio.fromJson(core.Map json_)
    : this(
        highBoost: json_.containsKey('highBoost')
            ? json_['highBoost'] as core.bool
            : null,
        lowBoost: json_.containsKey('lowBoost')
            ? json_['lowBoost'] as core.bool
            : null,
        lufs: json_.containsKey('lufs')
            ? (json_['lufs'] as core.num).toDouble()
            : null,
      );