EbsBlockDevice.fromJson constructor
Implementation
factory EbsBlockDevice.fromJson(Map<String, dynamic> json) {
return EbsBlockDevice(
deleteOnTermination: json['DeleteOnTermination'] as bool?,
iops: json['Iops'] as int?,
snapshotId: json['SnapshotId'] as String?,
volumeSize: json['VolumeSize'] as int?,
volumeType: (json['VolumeType'] as String?)?.toVolumeType(),
);
}