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