SchemaNutritionInformation class
Nutritional information about the recipe. See https://schema.org/NutritionInformation
- Inheritance
-
- Object
- SchemaThing
- SchemaIntangible
- SchemaStructuredValue
- SchemaNutritionInformation
Constructors
- SchemaNutritionInformation({String? additionalType, String? alternateName, dynamic description, String? disambiguatingDescription, dynamic identifier, dynamic image, dynamic mainEntityOfPage, String? name, dynamic owner, SchemaAction? potentialAction, String? sameAs, dynamic subjectOf, String? url, SchemaEnergy? calories, SchemaMass? carbohydrateContent, SchemaMass? cholesterolContent, SchemaMass? fatContent, SchemaMass? fiberContent, SchemaMass? proteinContent, SchemaMass? saturatedFatContent, String? servingSize, SchemaMass? sodiumContent, SchemaMass? sugarContent, SchemaMass? transFatContent, SchemaMass? unsaturatedFatContent})
- Create a new instance of SchemaNutritionInformation
Properties
- additionalType ↔ String?
-
//schema.org/docs/styleguide.html">style guide.
getter/setter pairinherited
- alternateName ↔ String?
-
An alias for the item.
getter/setter pairinherited
- calories ↔ SchemaEnergy?
-
The number of calories.
getter/setter pair
- carbohydrateContent ↔ SchemaMass?
-
The number of grams of carbohydrates.
getter/setter pair
- cholesterolContent ↔ SchemaMass?
-
The number of milligrams of cholesterol.
getter/setter pair
- description ↔ dynamic
-
A description of the item.
getter/setter pairinherited
- disambiguatingDescription ↔ String?
-
A sub property of description. A short description of the item used to
disambiguate from other, similar items. Information from other properties
(in particular, name) may be necessary for the description to be useful
for disambiguation.
getter/setter pairinherited
- fatContent ↔ SchemaMass?
-
The number of grams of fat.
getter/setter pair
- fiberContent ↔ SchemaMass?
-
The number of grams of fiber.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ dynamic
-
The identifier property represents any kind of identifier for any kind of
SchemaThing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
dedicated properties for representing many of these, either as textual
strings or as URL (URI) links. See background
notes for more details.
getter/setter pairinherited
- image ↔ dynamic
-
An image of the item. This can be a
SchemaURLor a fully described SchemaImageObject.getter/setter pairinherited - mainEntityOfPage ↔ dynamic
-
Indicates a page (or other CreativeWork) for which this thing is the main
entity being described. See background
notes for details.
getter/setter pairinherited
- name ↔ String?
-
The name of the item.
getter/setter pairinherited
- owner ↔ dynamic
-
A person or organization who owns this Thing.
getter/setter pairinherited
- potentialAction ↔ SchemaAction?
-
Indicates a potential Action, which describes an idealized action in
which this thing would play an 'object' role.
getter/setter pairinherited
- proteinContent ↔ SchemaMass?
-
The number of grams of protein.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameAs ↔ String?
-
URL of a reference Web page that unambiguously indicates the item's
identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
official website.
getter/setter pairinherited
- saturatedFatContent ↔ SchemaMass?
-
The number of grams of saturated fat.
getter/setter pair
- servingSize ↔ String?
-
The serving size, in terms of the number of volume or mass.
getter/setter pair
- sodiumContent ↔ SchemaMass?
-
The number of milligrams of sodium.
getter/setter pair
- subjectOf ↔ dynamic
-
A CreativeWork or Event about this Thing.
getter/setter pairinherited
- sugarContent ↔ SchemaMass?
-
The number of grams of sugar.
getter/setter pair
- transFatContent ↔ SchemaMass?
-
The number of grams of trans fat.
getter/setter pair
- unsaturatedFatContent ↔ SchemaMass?
-
The number of grams of unsaturated fat.
getter/setter pair
- url ↔ String?
-
URL of the item.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonLd(
) → Map< String, dynamic> -
Serialize SchemaNutritionInformation to JSON-LD
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited