VolumeInfo.fromJson constructor

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

Implementation

factory VolumeInfo.fromJson(Map<String, dynamic> json) {
  return VolumeInfo(
    gatewayARN: json['GatewayARN'] as String?,
    gatewayId: json['GatewayId'] as String?,
    volumeARN: json['VolumeARN'] as String?,
    volumeAttachmentStatus: json['VolumeAttachmentStatus'] as String?,
    volumeId: json['VolumeId'] as String?,
    volumeSizeInBytes: json['VolumeSizeInBytes'] as int?,
    volumeType: json['VolumeType'] as String?,
  );
}