UploadDocumentsResponse.fromJson constructor
Implementation
factory UploadDocumentsResponse.fromJson(Map<String, dynamic> json) {
return UploadDocumentsResponse(
adds: json['adds'] as int?,
deletes: json['deletes'] as int?,
status: json['status'] as String?,
warnings: (json['warnings'] as List?)
?.whereNotNull()
.map(
(e) => DocumentServiceWarning.fromJson(e as Map<String, dynamic>))
.toList(),
);
}