AllergenResponse

class AllergenResponse(    uniqueAllergenID: String,     names: Map<String, String>,     wikiDataCode: String? = null) : EntityResponse<Allergen>

Intermediate class between AllergensWrapper and Allergen

Author

Lobster 2018-03-04

ross-holloway94 2018-03-14

Constructors

Link copied to clipboard
fun AllergenResponse(    uniqueAllergenID: String,     names: Map<String, String>,     wikiDataCode: String? = null)

Functions

Link copied to clipboard
open override fun map(): Allergen

Converts an AllergenResponse object into a new Allergen object.