problemFixture function
Builders for the reconciliation matrix. Dependency-light — plain values, no test framework. A well-formed RFC 9457 problem fixture.
Implementation
/// A well-formed RFC 9457 problem fixture.
Problem problemFixture({
String type = 'urn:diene:problem:test',
String title = 'Test problem',
int status = 400,
String? detail,
bool recoverable = false,
Map<String, Object?> data = const <String, Object?>{},
}) => Problem(
type: type,
title: title,
status: status,
detail: detail,
recoverable: recoverable,
data: data,
);