Rollback constructor Null safety

Rollback(
  1. String reason
)

Default constructor, takes a reason object that can be anything.

The parameter reason will be returned by ManagedContext.transaction.

Implementation

Rollback(this.reason);