toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sizeInGB = this.sizeInGB;
  final volumeType = this.volumeType;
  final iops = this.iops;
  return {
    'SizeInGB': sizeInGB,
    'VolumeType': volumeType,
    if (iops != null) 'Iops': iops,
  };
}