SolveFailure constructor

SolveFailure(
  1. Incompatibility incompatibility, {
  2. String? suggestions,
})

Implementation

SolveFailure(this.incompatibility, {this.suggestions})
    : assert(
        incompatibility.terms.isEmpty ||
            incompatibility.terms.single.package.isRoot,
      );