Cookbook class
Wrapper object for a cookbook. Exactly one cookbook must be loaded at any one time; this will be used for all recipe, item, etc. queries and operations. Use Cookbook.load() to load the cookbook while your app is setting things up, and then use Cookbook.current when you need to retrieve that.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCreator(
) → String - Retrieves the address of this cookbook's creator.
-
getDescription(
) → String - Retrieves the human-readable description of this cookbook.
-
getDeveloper(
) → String - Retrieves the human-readable developer name of this cookbook.
-
getId(
) → String - Retrieves this cookbook's ID.
-
getName(
) → String - Retrieves the human-readable name of this cookbook.
-
getNodeVersion(
) → Int64 - Retrieves the node version of this cookbook. Since all cookbooks are retrieved from the chain, this should generally just be the current version; don't worry about it.
-
getSupportEmail(
) → String - Retrieves the support email address of this cookbook.
-
getVersion(
) → String - Retrieves the human-readable name of this cookbook.
-
isEnabled(
) → bool - Retrieves the enabled status of this cookbook.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited