AudioListener.fromJson constructor Null safety

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

Implementation

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