AudioNodeWillBeDestroyedEvent.fromJson constructor Null safety

AudioNodeWillBeDestroyedEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AudioNodeWillBeDestroyedEvent.fromJson(Map<String, dynamic> json) {
  return AudioNodeWillBeDestroyedEvent(
    contextId: GraphObjectId.fromJson(json['contextId'] as String),
    nodeId: GraphObjectId.fromJson(json['nodeId'] as String),
  );
}