Response.someTestsFailed constructor Null safety

Response.someTestsFailed(
  1. List<Failure>? _failureDetails,
  2. {Map<String, dynamic>? data}
)

Constructor for failure response.

Implementation

Response.someTestsFailed(this._failureDetails, {this.data})
    : _allTestsPassed = false;