AudioNode.fromJson constructor
AudioNode.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AudioNode.fromJson(Map<String, dynamic> json) {
return AudioNode(
nodeId: GraphObjectId.fromJson(json['nodeId'] as String),
contextId: GraphObjectId.fromJson(json['contextId'] as String),
nodeType: NodeType.fromJson(json['nodeType'] as String),
numberOfInputs: json['numberOfInputs'] as num,
numberOfOutputs: json['numberOfOutputs'] as num,
channelCount: json['channelCount'] as num,
channelCountMode:
ChannelCountMode.fromJson(json['channelCountMode'] as String),
channelInterpretation: ChannelInterpretation.fromJson(
json['channelInterpretation'] as String),
);
}