FailedRemediationExceptionBatch.fromJson constructor

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

Implementation

factory FailedRemediationExceptionBatch.fromJson(Map<String, dynamic> json) {
  return FailedRemediationExceptionBatch(
    failedItems: (json['FailedItems'] as List?)
        ?.whereNotNull()
        .map((e) => RemediationException.fromJson(e as Map<String, dynamic>))
        .toList(),
    failureMessage: json['FailureMessage'] as String?,
  );
}