UniqueProblem.fromJson constructor
Implementation
factory UniqueProblem.fromJson(Map<String, dynamic> json) {
return UniqueProblem(
message: json['message'] as String?,
problems: (json['problems'] as List?)
?.whereNotNull()
.map((e) => Problem.fromJson(e as Map<String, dynamic>))
.toList(),
);
}