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,
      );