getNodeVersion method

Int64 getNodeVersion()

Retrieves the node version of this recipe. Since all recipes are retrieved from the chain, this should generally just be the current version; don't worry about it.

Not available on partial recipes.

Implementation

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