@upgraded decorator is used to mark a method of a
ConditionBlock that is invoked when the block was created with an older version of the block implementation. You can use this method to migrate older block versions to the new version of the block.
Decorated method signature
(previousVersion: string): void
Decorated method parameters
|string||No||Specifies the previous version number of the block.|