toJson method
Implementation
Map<String, dynamic> toJson() {
final instancesDistribution = this.instancesDistribution;
final launchTemplate = this.launchTemplate;
return {
if (instancesDistribution != null)
'InstancesDistribution': instancesDistribution,
if (launchTemplate != null) 'LaunchTemplate': launchTemplate,
};
}