createRollback method

  1. @override
InteractionDefinition? createRollback()
override

Creates a rollback interaction (optional).

If provided, this interaction will be executed if the main interaction fails and needs to be rolled back.

Returns null if rollback is not supported.

Implementation

@override
InteractionDefinition? createRollback() => _rollback;