DescribeTapeRecoveryPointsOutput.fromJson constructor

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

Implementation

factory DescribeTapeRecoveryPointsOutput.fromJson(Map<String, dynamic> json) {
  return DescribeTapeRecoveryPointsOutput(
    gatewayARN: json['GatewayARN'] as String?,
    marker: json['Marker'] as String?,
    tapeRecoveryPointInfos: (json['TapeRecoveryPointInfos'] as List?)
        ?.whereNotNull()
        .map((e) => TapeRecoveryPointInfo.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}