FlyMenuIngredient
public struct FlyMenuIngredient : Decodable
Propriétés principales d'un FlyMenuIngredient :
- name : Nom de l'ingrédient
- image : Url vers l'image de l'ingrédient
- id : Id de l'ingrédient
-
Nom de l'ingrédient
Declaration
Swift
public let name: String
-
Forme plurielle du nom de l'ingrédient
Declaration
Swift
public let plural_name: String
-
Url vers l'image de l'ingrédient
Declaration
Swift
public let image: String
-
Id de l'ingrédient
Declaration
Swift
public let id: Int
-
Nom de la catégorie de l'ingrédient
Declaration
Swift
public let category: String
-
Declaration
Swift
public init(from decoder: Decoder) throws