toJson method
Implementation
Map<String, dynamic> toJson() {
final eBSEnabled = this.eBSEnabled;
final iops = this.iops;
final volumeSize = this.volumeSize;
final volumeType = this.volumeType;
return {
if (eBSEnabled != null) 'EBSEnabled': eBSEnabled,
if (iops != null) 'Iops': iops,
if (volumeSize != null) 'VolumeSize': volumeSize,
if (volumeType != null) 'VolumeType': volumeType.toValue(),
};
}