ReleaseResult.failure constructor
ReleaseResult.failure({})
Factory helper for creating a failed release result.
Implementation
factory ReleaseResult.failure({
required ReleaseType type,
required String message,
List<String> errors = const [],
List<String> executedSteps = const [],
List<String> warnings = const [],
}) {
return ReleaseResult(
success: false,
type: type,
message: message,
executedSteps: executedSteps,
errors: errors,
warnings: warnings,
);
}