ResultWrapper<T>.error constructor

ResultWrapper<T>.error(
  1. String message
)

Implementation

ResultWrapper.error(String message) {
  operationResult = OperationResult.ERROR;
  this.message = message;
}