InferRxNormResponse.fromJson constructor
Implementation
factory InferRxNormResponse.fromJson(Map<String, dynamic> json) {
return InferRxNormResponse(
entities: (json['Entities'] as List)
.whereNotNull()
.map((e) => RxNormEntity.fromJson(e as Map<String, dynamic>))
.toList(),
modelVersion: json['ModelVersion'] as String?,
paginationToken: json['PaginationToken'] as String?,
);
}