copyWith method
Implementation
ProblemDetails copyWith(
{String? type,
String? title,
int? status,
String? detail,
String? instance}) {
return ProblemDetails(
type: type ?? this.type,
title: title ?? this.title,
status: status ?? this.status,
detail: detail ?? this.detail,
instance: instance ?? this.instance);
}