ListRecoveryPointsByBackupVaultOutput.fromJson constructor

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

Implementation

factory ListRecoveryPointsByBackupVaultOutput.fromJson(
    Map<String, dynamic> json) {
  return ListRecoveryPointsByBackupVaultOutput(
    nextToken: json['NextToken'] as String?,
    recoveryPoints: (json['RecoveryPoints'] as List?)
        ?.whereNotNull()
        .map((e) =>
            RecoveryPointByBackupVault.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}