AudioAtom.fromJson constructor
AudioAtom.fromJson(
- Map _json
Implementation
AudioAtom.fromJson(core.Map _json)
: this(
channels: _json.containsKey('channels')
? (_json['channels'] as core.List)
.map<AudioChannel>((value) => AudioChannel.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
key: _json.containsKey('key') ? _json['key'] as core.String : null,
);