BatchUpdatePartitionFailureEntry.fromJson constructor

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

Implementation

factory BatchUpdatePartitionFailureEntry.fromJson(Map<String, dynamic> json) {
  return BatchUpdatePartitionFailureEntry(
    errorDetail: json['ErrorDetail'] != null
        ? ErrorDetail.fromJson(json['ErrorDetail'] as Map<String, dynamic>)
        : null,
    partitionValueList: (json['PartitionValueList'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}