getName method

String getName()

Retrieves the human-readable name of the recipe.

Not available on partial recipes.

Implementation

String getName() {
  if (_native == null) {
    throw UnsupportedError('Cannot get recipe fields from a partial recipe - use Recipe.get() if you need that data');
  }
  return _native!.name;
}