DescribeVolumesResult.fromJson constructor

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

Implementation

factory DescribeVolumesResult.fromJson(Map<String, dynamic> json) {
  return DescribeVolumesResult(
    volumes: (json['Volumes'] as List?)
        ?.whereNotNull()
        .map((e) => Volume.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}