toFail method

Fail toFail([
  1. String message = ''
])

Implementation

Fail toFail([String message = '']) => Fail.withError(this, message: message);