Recipe class abstract
A recipe according to schema.org.
- Implemented types
Constructors
- Recipe([void b(RecipeBuilder)?])
-
Creates a new Recipe object using the builder pattern.
factory
-
Recipe.fromJson(Map<
String, dynamic> json) -
Creates a new object from the given
json
data.factory
Properties
- cookTime → String?
-
The time required for cooking in ISO8601 format.
no setterinherited
- dateCreated → String
-
The date the recipe was created in the app.
no setterinherited
- dateModified → String?
-
The date the recipe was modified lastly in the app.
no setterinherited
- description → String
-
A description of the recipe or the empty string.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The index of the recipe. Note the representation as a string as the representation might change in the future.
no setterinherited
- image → String
-
The URL of the original recipe.
no setterinherited
- imagePlaceholderUrl → String
-
The URL of the placeholder of the recipe image.
no setterinherited
- imageUrl → String
-
The URL of the recipe image.
no setterinherited
- keywords → String
-
A comma-separated list of recipe keywords, can be empty string.
no setterinherited
- name → String
-
The name of the recipe.
no setterinherited
- nutrition → Nutrition
-
no setterinherited
- prepTime → String?
-
The time required for preparation in ISO8601 format.
no setterinherited
- recipeCategory → String
-
The category of the recipe.
no setterinherited
-
recipeIngredient
→ BuiltList<
String> -
no setterinherited
-
recipeInstructions
→ BuiltList<
String> -
no setterinherited
- recipeYield → int
-
Number of servings in recipe.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tool
→ BuiltList<
String> -
no setterinherited
- totalTime → String?
-
The time required for the complete processing in ISO8601 format.
no setterinherited
- type → String
-
Schema.org object type identifier.
no setterinherited
- url → String
-
The URL the recipe was found at or the empty string.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(RecipeBuilder)) → Recipe -
Rebuilds the instance.
inherited
-
toBuilder(
) → RecipeBuilder -
Converts the instance to a builder
B
.inherited -
toJson(
) → Map< String, dynamic> - Parses this object into a json like map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Recipe> -
Serializer for Recipe.
no setter