BatchDeleteImportDataResponse.fromJson constructor

BatchDeleteImportDataResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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