ListVolumesOutput.fromJson constructor
Implementation
factory ListVolumesOutput.fromJson(Map<String, dynamic> json) {
return ListVolumesOutput(
gatewayARN: json['GatewayARN'] as String?,
marker: json['Marker'] as String?,
volumeInfos: (json['VolumeInfos'] as List?)
?.whereNotNull()
.map((e) => VolumeInfo.fromJson(e as Map<String, dynamic>))
.toList(),
);
}