Operation<T> constructor

Operation<T>(
  1. OperationFn<T> op, {
  2. MigrationErrorStrategy errorStrategy = MigrationErrorStrategy.Throw,
})

Construct an operation from its OperationFn fn and errorStrategy.

Implementation

Operation(this.op, {this.errorStrategy = MigrationErrorStrategy.Throw});