ValidationResult.ok constructor
const
ValidationResult.ok({
- ContentType? contentType,
- required Map<
String, dynamic> ? headers, - required int? statusCode,
Implementation
const ValidationResult.ok(
{this.contentType, required this.headers, required this.statusCode})
: valid = true,
assert((statusCode != null && headers != null));