BatchDeletePartitionResponse.fromJson constructor

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

Implementation

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