toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final volumeSpecification = this.volumeSpecification;
  final volumesPerInstance = this.volumesPerInstance;
  return {
    'VolumeSpecification': volumeSpecification,
    if (volumesPerInstance != null) 'VolumesPerInstance': volumesPerInstance,
  };
}