Failure constructor

const Failure(
  1. String error
)

Implementation

const Failure(this.error);