Volume.fromJson constructor
Implementation
factory Volume.fromJson(Map<String, dynamic> json) {
return Volume(
availabilityZone: json['AvailabilityZone'] as String?,
device: json['Device'] as String?,
ec2VolumeId: json['Ec2VolumeId'] as String?,
encrypted: json['Encrypted'] as bool?,
instanceId: json['InstanceId'] as String?,
iops: json['Iops'] as int?,
mountPoint: json['MountPoint'] as String?,
name: json['Name'] as String?,
raidArrayId: json['RaidArrayId'] as String?,
region: json['Region'] as String?,
size: json['Size'] as int?,
status: json['Status'] as String?,
volumeId: json['VolumeId'] as String?,
volumeType: json['VolumeType'] as String?,
);
}