AudioChannelInput.fromJson constructor

AudioChannelInput.fromJson(
  1. Map _json
)

Implementation

AudioChannelInput.fromJson(core.Map _json)
    : this(
        channel: _json.containsKey('channel')
            ? _json['channel'] as core.int
            : null,
        gainDb: _json.containsKey('gainDb')
            ? (_json['gainDb'] as core.num).toDouble()
            : null,
        key: _json.containsKey('key') ? _json['key'] as core.String : null,
        track: _json.containsKey('track') ? _json['track'] as core.int : null,
      );