RecipeProfile class

Schema profile generator for Recipes.

Constructors

RecipeProfile({required String name, required String description, required String image, required String author, required int prepTimeMinutes, required int cookTimeMinutes, required String recipeYield, required List<String> ingredients, required List<String> instructions, int? calories})
const

Properties

author → String
final
calories → int?
final
cookTimeMinutes → int
final
description → String
final
hashCode → int
The hash code for this object.
no setterinherited
image → String
final
ingredients → List<String>
final
instructions → List<String>
final
name → String
final
prepTimeMinutes → int
final
recipeYield → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJsonLd({required String url}) → JsonLd
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited