BackfillError.fromJson constructor

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

Implementation

factory BackfillError.fromJson(Map<String, dynamic> json) {
  return BackfillError(
    code: (json['Code'] as String?)?.toBackfillErrorCode(),
    partitions: (json['Partitions'] as List?)
        ?.whereNotNull()
        .map((e) => PartitionValueList.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}