factory RxNormTrait.fromJson(Map<String, dynamic> json) { return RxNormTrait( name: (json['Name'] as String?)?.toRxNormTraitName(), score: json['Score'] as double?, ); }