AudioParam.fromJson constructor
AudioParam.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AudioParam.fromJson(Map<String, dynamic> json) {
return AudioParam(
paramId: GraphObjectId.fromJson(json['paramId'] as String),
nodeId: GraphObjectId.fromJson(json['nodeId'] as String),
contextId: GraphObjectId.fromJson(json['contextId'] as String),
paramType: ParamType.fromJson(json['paramType'] as String),
rate: AutomationRate.fromJson(json['rate'] as String),
defaultValue: json['defaultValue'] as num,
minValue: json['minValue'] as num,
maxValue: json['maxValue'] as num,
);
}